Questions tagged [advanceddatagrid]

An extended version of the Flex DataGrid control that provides features like column groups and renderers for non-text data.

302 questions
1
vote
2 answers

Flex GroupingCollection: Loop through the children

I am using a GroupingCollection to bind my advanceddatagrid. I have used groupingcollection to group the data by date. Now I need to select the data in the datagrid through the code. Does anyone have any idea as to how to do this? I need to loop…
online19
  • 125
  • 5
  • 17
1
vote
0 answers

Set a default value to an AdvancedDataGridColumn

I am using the following code, to create an AdvancedDataGridColumn, to be added to an AdvancedDataGrid: var columnValue:AdvancedDataGridColumn=new AdvancedDataGridColumn(); columnValue.headerText="Value"; columnValue.dataField="value"; …
summerbulb
  • 5,709
  • 8
  • 37
  • 83
1
vote
0 answers

Flex 4 MX AdvancedDataGrid embedded font in header reverting to Times for only some users

I have a Flex 4.5 Application. We are using Spark DataGrids for the majority of our tables. However, there are a couple of instances where we need to use the MX AdvancedDataGrid as we need to do multi-sort and have locked columns. The problem is the…
1
vote
1 answer

How to change date 2012-03-24 to 03/24/2013 in flex

override public function set data(value:Object):void { super.data = value; if(data["date"] == ' ') { var d:DateFormatter = new DateFormatter(); var month4:String = String(value); …
ricky
  • 23
  • 1
  • 2
  • 14
1
vote
1 answer

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…
user170992
1
vote
2 answers

How can I get whether advanceddatagrid data is modified or not in flex?

I have an advanced data grid with many rows and columns(editable). I want to save the data from grid only if there is any change made in the grid. How can this be done without using boolean variable? Is there any inbuilt function for eg: like…
1
vote
1 answer

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?
Kwexi
  • 1,013
  • 10
  • 17
1
vote
1 answer

Assigning arraycollection in component as dataprovider for datagrid in main app

Hi I have a simple (I think) question. I have the following custom component in Flex 4.6 (partial code).
1
vote
0 answers

Applying Item Renderer to Flex Advanceddatagrid

I'm trying to apply a custom item renderer to a Flex AdvancedDataGrid. I'm testing right now by applying a solid black square to the parent nodes @ depth="1". The black square is not the final item renderer, I just want to make sure I can apply a…
1
vote
0 answers

Selection in a ComboBoxEditor change the row selected in DataGrid

Here is a good problem : I've got an AdvancedDatagrid with Combobox as ItemEditor (until there, no problems ...). This ComboBoxEditor get this behavior : selection = close editor BUT when I click on a value in the ComboBox, it selecte it and close…
1
vote
0 answers

AdvancedDataGrid width Issue on Scaling

I need an immediate help with Regards to Flex 4 scaling behavior. Problem: In our project we have the custom ADG (AdvancedDataGrid) and a zoomer control in bottom to control it's scaling, the scale value is directly binded to the scaleX & scaleY…
1
vote
1 answer

Drag drop data between 2 advancedDataGrid and clone instance

I have 2 advanceddatagrid with dataprovider based on an arraycollection of an instanciated actionscript class. I want to copy and duplicate data from the datagrid1 to the datagrid2... For duplicate data it works fine, no problems .... but when I…
1
vote
1 answer

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…
JD Isaacks
  • 56,088
  • 93
  • 276
  • 422
1
vote
1 answer

Flex AdvancedDataGrid (mx) How can I get the dataGrid item on a mouseWheel Event

I have an (mx) AdvancedDataGrid and when I use the wheel on my mouse, I want to capture the item in my dataGrid that I moused over using the wheel on my mouse. I added: mouseWheel="doMouseWheel(event)" and in the event, I need to be able to find the…
anad2312
  • 787
  • 2
  • 8
  • 20
1
vote
3 answers

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.
Stuart Dautrich