advanceddatagrid

Flex AdvancedDataGrid databind complete event

Is there some way in Flex where I can tell when all of the data has finished binding to my AdvancedDataGrid? I have a bunch of label functions that run and I need to a busy cursor while the grid gets populated. I then want to remove it when it's all done. And also fire another event. Thanks, Martin ...

Flex AdvancedDataGrid caching records

Hello, I have an AdvancedDataGrid(ADG) bound to an ArrayCollection. ArrayCollection is populated from my Oracle database. Now, the records I have in the database are in millions and sometimes, based on the worst case criteria by the user, I can get around 10,000 records. Now, as this collection is bound to the ADG, it tries to render a...

Flex AdvancedDataGrid Tree Custom Drag

I'd like to implement a custom drag on an AdvancedDataGrid tree structure, which only allows the drag on the branches (not leaves). I'm having much difficultly with this, trying to use the MouseDown event, but not having luck! Okay, I think I've got the mousedown able to figure out if the item is a branch of leaf. Any help on how to ...

How do I programmatically move an item in a Flex 3 AdvancedDataGrid?

Is there a way to move a row in an AdvancedDataGrid in response to an external event? In this case, I'd like to have a toolbar button that moves an item or items selected in the grid either up or down. The problem as I see it is keeping the hierarchical data source in sync with the array of item renderers and selection data on the grid...

AdvancedDataGrid Multi-column programmatic sorting

Hi, I need to to a programmatic multi column sorting on the AdvancedDataGrid. The issue is, currently I am implementing paging on my grid. So, if I sort the data, only the perticular page is being sorted. So, I need to sort the entire list by the column criteria. I tried HeaderRelease event, but I guess it is of no use as I need to mak...

How do I get a Flex AdvancedDatagrid to display just one row?

I have an AdvancedDatagrid, whose dataProvider is an ArrayCollection that contains 1 row of displayable stuff. Flex continues to display about 6 rows, the top one filled, the rest blank. I've set the rowCount="1", with no luck. ...

Flex: Group items in DataGrid

I have a DataGrid with info like this: Associate Amount Time Customer John Doe 2 9am Sam Smith John Doe 2 10am Berry Cooper Bill Ace 1 9am Sandy James Repeating the name and amount gets redundant so I would like it to look something like this: Associate Amount John Doe 2 Bill Ace 1 Then when you select one, ...

AdvancedDataGrid sort number color

next to the header of an advancedDataGrid you see a number. This number stays grey no matter what i do. I Already searched 1 hour to find the solution. Very anoying because it should be so simple to change this. I hope someone could help me with this problem ...

AdvancedDataGrid sort column on application creationComplete

I have a AdvancedDataGrid that shows searchwords grouped by searchengine. So the searchengines are the branches and if I open one branche I see all the keywords that are searched with that searchengine. Behind that I have a column of "visits". This shows how much visitors came by this searchengine or searchword. Behind the searchengine i...

Drag and drop onto Flex AdvancedDataGrid

How do I determine which Flex AdvancedDataGrid cell - row and column index - I've just dropped onto? calculateDropIndex seems to give me the row, but how do I get the column? ...

Runtime error when compiling flex application with ANT

Hi, I'm using a licensed version of Flex Builder Pro to develop an application. I compiled the swc and generated swf successfully using ANT tasks. It contains an Advanced Data Grid also. When this application is accessed, I get a runtime error and it fails to load. TypeError: Error #1007: Instantiation attempted on a non-constructo...

Creating a column of RadioButtons in Adobe Flex

I am having an un-predictable behavior of creating radio buttons in advancedDataGrid column using itemRenderer. Similar kind of problem has been reported at http://stackoverflow.com/questions/112036/creating-a-column-of-radiobuttons-in-adobe-flex. I tried to use the same procedure i.e. bind every radio button selectedValue and value att...

Persist row order in Flex AdvancedDataGrid

I have an AdvancedDataGrid that I allow the user to drag/drog the rows to reorder them and also allow them to sort on columns. I want to save the row ordering so that the next time I load up the data, the row ordering is preserved. I have a bindable array collection to the data grid. The array is a collection of a custom AS object. I...

How to create an overlay in advanved grid in Flex

Hi: I'd like to know how to create an "overlay" in Flex's Advanced Grid? See the sample here http://tinypic.com/r/4ieccm/4 ...

[Flex] find and expand grouping field by string?

Hello, i'm just to find a way how i can find a grouping field by string in my ADG for expanding this group. after my data is loaded and displayed in collapsed groups in my ADG i need to look up for a certain group field. if the GroupingCollection contains the field i need to expand only this group. if no group field matches all groups ...

Flex: Add TOTAL column for AdvancedDataGridColumnGroup?

I have an AdvancedDataGrid that has a couple AdvancedDataGridColumnGroup's I would like each group to have an extra column, that shows the total of all the other columns in the group. I also need to use my own calc function to calculate the totals. Is there anyway to do this? I hope I explained this well. Thanks!! ...

AdvancedDataGrid - Grouping for aggregations embedded in flat data

Hi. I have some data like so : { { total : 300, year : 2001 }, // total for the entire year { total : 300, year : 2001, quarter : 1 }, // total for an entire quarter { total : 250, year : 2001, quarter : 1, month : 1 }, // total for a specific month { total : 275, year : 2001, quarter : 1, month : 2 }, { total ...

Problem with Advancedatagrid in tree using flex3?

In my application i used Advance datagrid . On this arraycollection based to binding the dataprovider like <mx:dataProvider> <mx:HierarchicalData id="GC" source="{groupList}"/> </mx:dataProvider> my arraycollection like private var groupList:ArrayCollection = new ArrayCollection([  {Country:'India', children:[      {Country:'S...

Flex: Make columns aligned between 2 DataGrids?

I have 2 advanced data grids, one above the other. They both have the exact number of columns, and pertain to each other in the same way. But each is showing different data, which is why I split into 2 grids. However, on each one you can resize the columns, what I would like is to make it so that if you resize a column on either datagrid...

Flex AdvancedDataGrid dataChangeRequest

Hi, Can anyone give me an example of the use of the dataChangeRequest Style on the AdvancedDataGrid, I can't seem to get it working. I'm trying to make the cell of the item flash when the dataProvider is updated. Many Thanks ...