advanceddatagrid

Flex 3 AdvancedDataGrid HierarchicalData selecting entries after sorting acting weird

Hello, I am using an AdvancedDataGrid to display hierarchical data. My data is an ArrayCollection of custom objects, which have a bunch of simple properties and one property containing a list of childelements. I am binding this ArrayCollection as a source of HierarchicalData to the dataProvider property of the ADG. Here is the proble...

AdvancedDataGrid does not displays object properties

I have following data: var data: ArrayCollection = new ArrayCollection( [ { name: "ProductA", user: {login: "loginA", email: "emailA"} }, { name: "ProductB", user: {login: "loginB", email: "emailB"} }, { name: "ProductC", user: {login: "loginC", email: "emailC"} } ]...

Finding x,y position of a datagrid / adavancedDataGrid row in Flex

I have flex advancedDataGrid (could use dataGrid if that works better, though i like my meta-column headers), and i want to have a component popup on top of a selected row. The problem is, i can figure out how to reference an actual rendered row of a datagrid (rather than an item of the dataprovider) in order to get its position on the ...

Flex AdvancedDataGrid with expandable nodes: possible to make the alternatingItemColors start fresh after each expandable node?

Say I have this AdvancedDataGrid: <mx:AdvancedDataGrid id="grid" height="384" width="100%" styleName="aStyleName" displayItemsExpanded="false" groupItemRenderer="SomeRenderer" draggableColumns="false" defaultLeafIcon="{null}" folderClosedIcon="{null}" folderOpenIcon="{null}"> <mx:columns> <!-- a bunch of AdvancedDatagridCol...

Flex AdvancedDataGrid - ColumnOrder With Formatter and ItemRenderer Question For Experts

I have a advanceddatagrid that has around 15 columns. Some are string, some are numbers. I have shown 4 columns below. The number columns have formatting done for zero precision and 2 digits precision. The itemRenderer is just to show Blue Color if the number is +ve and Red Color if the number is -ve. It looks something like below <mx:...

Access to multiple ItemRenderers within an AdvancedDataGrid

I've create an AdvancedDataGrid where most of the cell are based on an ItemRenderer. The custom ItemRenderer (SoundBox) extends VBox. This custom component allow for simple changes in the background color based on user clicking on a cell. Here is the snippet of the AdvancedDataGrid (nothing too advanced): <mx:AdvancedDataGrid id="fsf...

ItemRenderer in Tree column of AdvancedDataGrid

Can we use ItemRenderers in 2nd and 3rd depth levels of a treecolumn in a tree mode of AdvancedDataGrid? I have been able to use ItemRenderer in the 3rd depth level of an AdvancedDataGrid. If I use ItemRenderer in both the 2nd and 3rd level, then it is rendered in the 2nd level but then that cell loses its tree mode i.e. it doesn’t ha...

AdvancedDataGrid dynamic text Value Coloring - ItemRenderer problem

In my AdvancedDataGrid, I am adding dynamic values to cells by dragging a cell value to other cells. While copying, I am setting the value to listData and setting the Red color to the value in ItemRenderer. Everything is working fine, but when I scroll down/up, the values remains in the cells where thay are supposed to be(as I am settin...

Grouping Collection seperating numeric 5 from String "5"

BackGround: I have an advanced data grid. The data provider for this ADG is an ArrayCollection. There is a grouping collection on an ID field of this AC. Example of a couple items within this AC the AC var name is "arcTemplates": (mx.collections::ArrayCollection)#0 filterFunction = (null) length = 69 list = (mx.collections::Arra...

ItemRenderer for TreeColumn on AdvancedDataGrid in Flex

Is it possible to use a renderer for for a treecolumn in an advanceddatagrid and still keep the hierarchal functionality? If I use a renderer provider I lose the the arrow for the tree dropdown. I want to keep the tree functionality and change the display of the column.(and not just the folder image) <mx:AdvancedDataGridRendererProvide...

AdvancedDataGrid does not displays object properties

I read your matter and I wonder did you resolve it? If you found out, let me know and give mail for me. My mail is [email protected]. Thanks much! http://stackoverflow.com/questions/2298908/advanceddatagrid-does-not-displays-object-properties ...

Disabling shift-click in a Flex 4 AdvancedDataGrid with allowMulitpleSelect enabled.

I have an AdvancedDataGrid for which I would like to allow multiple selection. Do to several constraints, I want to disallow selecting items that are next to each other (Basically, you can't select multiple items with the same parent and parents are handled differently from children). My preference would be to stop event propagation when...

Flex AdvancedDataGrid: Need to show a hand cursor when mousing over non-leaf nodes.

When using Adobe Flex (Version 3), how can I show a finger cursor (usually seen over links) when mousing over non-leaf nodes of an AdvancedDataGrid component that shows hierarchical data? I'm using AdvancedDataGridLinkRenderer as the groupItemRenderer. ...

how to put a drop down list and date selector in a flex advanced data grid

How can one put components into an advanced data grid? I wish to have a standard row with string items except two items, no 1 there is a date field and I need a date selector for it. no 2 in another cell of the row I want to put a drop down list box containing text "40" and "20" or you can manually edit the cell so that it displays what...

Can't find my bug: Group flat data in Advanced Datagrid w'ont work

Hi, i've got an ArrayCollection which is properly displayed in this Advanced Datagrid: <mx:AdvancedDataGrid id="drawingDataDG" editable="true" sortableColumns="true" headerWordWrap="true" sortExpertMode="true" rowCount="8" y="10" right="10" left="10" dataProvider="{model.drawingsData}"> <mx:columns> <mx:Advanced...

Flex AdvanceDatagrid

What is the difference between normal datagrid and advance datagrid.Sorting,draging columns,resizing columns are supported even in normal datagrid. I want to add footer details like summery,average etc of each column,does AdvanceDataGrid supports these features? ...

Advanced datagrid in flex 3

Hi, I have an XML which is coming from the back end through an HTTP service(Using the perl cgi) and I want to display it in an advanced data grid....as in if I click the parent element the children have to be displayed in the corresponding columns...I'm trying it with my data provider but its not working. Is it possible? Thanks in Ad...

How to automate vertical scrolling in Flex AdvancedDataGrid when dragging item below bottom of visible rows?

I have an AdvancedDataGrid with XML dataProvider. Drag and drop in enabled, and works within the visible rows of the ADG. HOWEVER, if I attempt to drag an item past the bottom-most visible row of the ADG, the ADG does NOT scroll to display the next rows, which makes it impossible to drag and drop beyond the immediately visible rows. Alt...

Summary row count appears zero for a field like 'wip.aggregatedValue' but not for 'wip'

Hi, I am using advanceddatagrid with groupedColumns and summary rows. I have following columns grop. <mx:AdvancedDataGridColumn id="wipId" dataField="wip.aggregatedValue" headerText="WIP"/> <mx:AdvancedDataGridColumn id="closedId" dataField="closed.aggregatedValue"/> <mx:AdvancedDataGridColumn dataField...

advancedDatagrid multipleSelection: Was a row already selected?

Hi, after multiple Selection in a advanced datagrid, I want to check if the clicked row, was already selected. Anyway my idea below (in the nested if clause I want to check if the newly clicked item's processing data is already in the added Array Collection) is not working, but I assume there must be a better way to differiante if an cl...