My name is Sameer Bhatt and I’m a Developer in the Flex Team in Adobe.
Is it possible to drag & drop within a particular cell on a data grid – everything I have seen refers to a whole row in a data grid?
thank you.
Hi Sameer,
Ur Blog was very helpful.i need help from you.
How do i select all rows depending on the itemrenderer(checkbox) given in the header.
Will be happy to get help from you
Thanks,
Deepa
sameer
many thanks for all your blog entries. they have helped me greatly. I need to know how i can creaet a group Header renderer where the group header can have an image in the background. any help will be appreciated.
Hi
Your blog is really informative and i was really excited to know the things you can do with flex. But it seems to me that are a lot of missing pieces involved when it comes to integrating flex with other technologies. We have the following environment and we would love have flex as a front end to our application.
1) solaris
2) weblogic 8.1sp6
3) struts
4) java 1.4
5) jsp (front end) – we would like to replace this component with flex
6) Documentum(It’s a Content Management system implemented in Java)
i came across a few articles regarding flex/struts, flex/java but none were helpful. At this point i would want to write a simple application in struts in our environment with flex as front end.
Also most of our team consists of J2EE developers and we are not considering moving away from java to action script even there are many similarties between them, as our backend which is documentum has api’s in java. so java is the only way to go as far as our back end is concerned and struts has been a standard for a long time.
Any advise or help would be greatly appreciated.
Thanks,
Kaiser
You’ve got some really excellent examples here! Thanks!
Hi Sameer,
I wish to seek your aquaintance as an User Experience
Deisgner working in an MNC in pune, India. I’ve recently
strated learning flex and my experience mostly is in UI
design.
I’m working on project of developing a “Employee Location
Finder” application in flex which will comprise of a map of
office layout that one can pan, zoom, drag and so on. Also
application will connect to a data base that gives me
location of each person’s cubicle. Thus application should
be able to paint over the location markers and some text.
Also, search functionality is the basic requirement in
which one can search the location using the employee name
as keyword or the location(cubicle number).
Looking at the Yahoo, Google, and other apis which have
geographical maps , projections/transformation
requirements, my questions is that how we can use flex to
build this application that uses non-geographic maps where
the map provder are the images of office layout and not the
external source. Also, would be of great help if you can
provide some resources/tutorials/source files to help me
kick start this project considering the fact that I am a
newbie.
Thanking you in anticipation of your welcoming assistance.
With BR,
Prahsant
Hi Sameer,
Following the post
http://blogs.adobe.com/aharui/2008/11/faster_datagrid_horizontal_scr.html of Alex, concerning the datagrid horizontal scrolling optimization, could you please port his code to the advancedDatagrid, the situation is catastrophic for me and my 30 advancedCollums =)
Thanks to you to keep me informed if you can do that =)
Best Regards,
CR
Hi Sameer,
Is it possible to drag and drop one cell from one AdvancedDataGrid to another AdvancedDataGrid when you have selectionMode=”singleCell” ? Currently the drag and drop seems to work but then the data “disappears” from the target. Thanks for your help!
Martina
Juneau, AK
Hi Sameer,
Thanks for your response. I did read the logged bug for selectionMode=”multipleCells” before I wrote to you. I was trying to use drag and drop for selectionMode=”singleCell”. Now I see that cell drag-drop is not supported at all in AdvancedDataGrid. Thanks again for the clarification. – M.
Hi Sameer,
I am new new to the Flex world. I hope u can help me in solving the problems mxml and action scripts.
How can I create dyanamic columns(say, date range) for Advanced datagrid, from objects returnd from java layer.?
nice .. let me look into the example.
Thank you sameer.
Hi Sameer,
I have seen XML structure for creating the Tree . Can we use ArrayCollection(java List from backend) for creating the Tree control?
You have any example demonstrating the same.
Appreciate your response!!
Hi Sameer,
Thanks for your kind help… I got into trouble when using XML as data provider for AdvancedDataGird. My requirement is to hide the root node in the ADG. In Tree we can use showRoot=”false”, right?
Is there any similar property in AGD when using XML as data provider?
or do we need to write action script to achieve this? Can you please get me some sample for this?
Thanks..Aji
Do you know any recommended consultants who are experts with the AdvancedDataGrid?
We have a need to extend ADG’s functionality. Immediate requirement is to optimize horizontal scrolling to behave the same as vertical. The requirement is not to have simple smooth scrolling but to only instantiate renderers that are in view. This is just the start; there are other features & performance bugs in addition to this one.
Unfortunately we can’t wait until 2023 when Flex 5 finally ships with a replacement grid control.
If anyone knows a reputable person please send email to: tntomek at — hotmail — com
Hi Sameer,
I’ve crawled the internet and you seem to be the expert for AdvancedDataGrids. I am having trouble with placing the SUM or AVG of the summaries in the Same Column as the added numbers below it.
The label needs to be the name of a new Column. It dosen’t work if it’s the same column as visits. Is there a way about solving that?
(please delete previous comment)
Sameer, It worked perfectly!
Actually group was what I needed to place it on top. Though I am facing something else, and funny enough, for such a simple functionality, I’d like to have one of my columns Sorted by default on this column, and if the dataProvider changes, I’d like to have the Adv. DataGrid sorted automatically on that Column.
At the moment, if I click the header of that column, it sorts… I just need it to sort automatically. Got any ideas?
Thanks again Sameer.
Set sort on your underlying data collection. myArray.sort = new Sort…. google rest
dataField will be your first visible column … grid.columns[0].dataField
Hey Tom,
Thanks for the quick reply. So I sort my ArrayCollection before updating the source of the GroupingCollection (of the Adv. DataGrid)?
Yet, the ArrayCollection I have, populates the Grid regardless of my sorting (actually did not have one), I just need the sorting on a date column to be sorted from past to future. It works if I click the header column (of Date), and it works perfectly… I just want it sorted by default (or somehow sorted after the grid gets populated).
(Sorry again please delete previous)
Thanks Sameer, actually after sorting the Array Collection, and passing it ot the GroupCollection, IF I refresh.() the GroupCollection afterwards… the data goes back to being before Sorted… I’m leaving it as is. But it takes about half a second for it to render.
I am willing ot keep it so. Though, now I am trying to create my own custom SummaryFunction… you can see a detailed description with pictures here:
http://forums.adobe.com/thread/524152
You may have noticed I am updating my Blog to help others pass the problems I am facing.
Hi Sameer…
I have some sensitive data that I can’t publish openly on the blog. Though I am having trouble with Sorting a Column of an Advanced DataGrid that’s grouped by a different dataField key.
Would it be ok if you sent me an email and I’ll reply to you with the full source. (My email address is provided in this post).
Thanks
Also, all fixes and things I’ve been learning are being updated on my blog to help the community that also helps me.
March 5, 2008 at 1:55 pm
Nice Blog Sameer.
Your examples gives some insight of flex deeps.