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: DataGrid and the Command Pattern

I am using a command pattern, so any changes to object state need to happen within a command execution. A normal itemeditor in a DataGrid would just make its changes on the underlying bound object, but I need to intercept that change and make it use…
Ocelot20
  • 10,510
  • 11
  • 55
  • 96
1
vote
2 answers

Sort Columns in advancedDataGrid

I'm making an application where I display an AdvanvedDataGrid with one column with dates(in format DD/MM/YYYY) and another with datetimes (in format HH:MM). I'd like to sort dates according with the datetimes as well(just clicking in the header of…
alicia
  • 597
  • 1
  • 5
  • 17
1
vote
2 answers

Flex Advanced Data Grid w/ hierarchical data: How to access currentTarget fields on dragdrop event?

So this is driving me crazy. I've got an advanced data grid with a dataprovider that's an array collection w/ hierarchical data. Each object (including the children) has an id field. I'm trying to drag and drop data from within the ADG. When this…
1
vote
2 answers

Flex AdvancedDataGrid: MXML ItemRenderers are not defaulting to the default style

I know AdvancedDataGrid has a styleFunction callback, but I don't want to change the style; I want the itemRenderer to get the global style that everything else (including normal columns) uses. My in-line item renderers use the default style, but…
Richard Haven
  • 1,122
  • 16
  • 31
1
vote
1 answer

AdvancedDatagrid DataTipFunction

i have a grouped AdvancedDatagrid. It looks like... dataProvider - GroupingCollection2 - Grouping - GroupingField - summaries - summaryRow - fields. Sorry for the strage Codefragemt. I try everything to paste a litte bit mxml-Code. But i fail... And…
Frank
  • 780
  • 1
  • 10
  • 22
1
vote
1 answer

Add row dynamically to AdvancedDataGrid

I would like to add new row on the fly (runtime) to my AdvancedDataGrid. I can add it to the data model, but couldn’t find a way to make the table render and show the new row. What i am seeking for is to create an effect of expandable item, where…
Yuval
  • 11
  • 3
1
vote
3 answers

Advanced Data Grid: Error: Bookmark no longer valid

I am working on an indent and outdent for the advanced datagrid. I have a set of functions which work when operating on the underlying data fine, but which throw "Error: Bookmark no longer valid" when operating on the selected items of the…
crcarlson
  • 189
  • 1
  • 11
1
vote
1 answer

Update hierarchical data provider in advanced data grid during drag and drop

I am trying to drag and drop hierarchical data in the same advanced data grid, and I would like the data provider to updated when the ADG is updated. (I want to be able to save and load this tree, so it is important that drags and drops are…
crcarlson
  • 189
  • 1
  • 11
1
vote
0 answers

AdvancedDataGridItemRenderer systemManager property is NULL

I have an AdvancedDataGrid. Occasionally, when I roll over the cells immediately after changing the dataProvider, I get a null pointer. The null pointer is caused by the systemManager property of the item renderer (AdvancedDataGridItemRenderer)…
Jeremy Mitchell
  • 329
  • 5
  • 18
1
vote
2 answers

Flex Spark ComboBox in an MX AdvancedDataGrid

I would like to use a combobox as the itemEditor for one of the columns of an AdvancedDataGrid. I looked around and decided to use Spark ComboBox components - they're slick and seem to natively support a lot of neat stuff including auto-completing…
fred august
  • 1,109
  • 12
  • 31
1
vote
1 answer

Detect if Flex AdvancedDataGrid itemClick is actually a drag

Is there any way to detect if AdvancedDataGrid itemClick event is actually caused by the user dragging? I'd like to take action on click, but ignore drag.
Roland Rabien
  • 8,750
  • 7
  • 50
  • 67
1
vote
1 answer

Flex AdvancedDataGrid slow on performance while being resized

I have a AdvancedDataGrid which is placed inside a resizable container (custom panel) and fixed at 100% width and height. Datagrid has about 100 rows and 15 columns. When I try to resize the container datagrid kinda freezes. I understand that while…
1
vote
1 answer

Sorting in AdvancedDatagrid in Flex 3

I am using AdvancedDatagrid in Flex 3. One column of AdvancedDatagrid contains numbers and alphabets. When I sort this column, numbers come before alphabets (Default behavior of internal sorting of AdvancedDatagrid). But I want alphabets to come…
Sne
  • 11
  • 2
1
vote
2 answers

preventDefault messes with tab ordering - AdvancedDataGrid itemeditor

Checkout following sample code
CuriousMind
  • 3,143
  • 3
  • 29
  • 54
1
vote
2 answers

AdvancedDataGrid horizontal/vertical scroll bar problems. (Flex)

So, I have an AdvancedDataGrid that needs to live inside a Canvas. My problem is that when you do something like this you get two sets of scroll bars. Also, the horizontal scroll bar for the AdvancedDataGrid changes size as you scroll right to…
Craig
  • 1,295
  • 3
  • 16
  • 29