In a Flex AdvancedDatGrid, we're doing a lot of grouping. Most of the columns are the same for the parents and for the children, so I'd like to show the first value of the group as the summary rather than the MAX, MIN or AVG
This code works on numerical but not textual values (without the commented line you get NaN's):
private functi...
I have an AdvancedDataGrid that uses customer grouping of data. Not all of the groups will be at the same level in the hierarchy, and groups can contain both groups and members. We have a sort callback, but it's not being called except for groups at the leaf-most levels. See code below for an example -- expand all of the groups, then cli...
I have a really odd issue with an ItemRenderer. I have a main.mxml container with a ViewStack. When a user logs in, the initial view contains an AdvancedDataGrid--containing some data and the ItemRenderer below--which simply displays a Delete button. When the user logs in, this AdvancedDataGrid is automatically refreshed from the databas...
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 not the ones I created as separate MXML classes (they extend Canvas).
Any handle I need to...
So I want to have the tree behavior in a grid, and use item renderers in the top-level (aka summary) rows. Once I've applied grouping, the data object is much changed.
Here is the code to add grouping to an ADG:
var tripCollection : TripSearchMatchCollection = TripSearchMatchCollection(value);
var theGroupingCollection : GroupingColl...
I have the following class that extends AdvancedDataGridItemRenderer:
package
{
import mx.controls.advancedDataGridClasses.AdvancedDataGridItemRenderer;
public class TestADGIR extends AdvancedDataGridItemRenderer
{
public function TestADGIR()
{
super();
backgro...
I am using an AdvancedDataGrid with two GroupingFields. The dataProvider has a list of objects with these two field values, but occasionally the second field value can be null. When it loads, the AdvancedDataGrid UI has a root folder (first GroupingField) and some additional subfolders (second GroupingField). This is all good. However, t...
I have an AdvancedDataGrid (ADG) with a HierarchicalData dataProvider:
<mx:AdvancedDataGrid xmlns:mx="http://www.adobe.com/2006/mxml"
dataProvider="{__model.myHierarchicalData}"
displayItemsExpanded="true" sortExpertMode="true" dropEnabled="true"
sortableColumns="false" draggableColumns="false"
resizableColumns="true"...
I am using the advanced datagrid control. In that I am showing the data in hierarchical format in that I have one parent with two children. In the parent I have a checkbox and when I select the checkbox, I have to remove the existing data of children and replace with new ones.
...
In a previous application that I had written, I had a Class that extended AdvancedDataGrid (ADG). It contained the following code:
package
{
public class CustomADG extends AdvancedDataGrid
{
....
// This function serves as the result handler for a webservice call that retrieves XML data.
private function...
Bear with me here. I have a strange setup to accomplish what I need. I basically have an AdvancedDataGrid that displays data returned by a WebService. The data is in XML format:
<children label="parent 1" value="3100">
<children label="child 1" value="1100">
<children label="grandchild 1" value="200">
</children>
...
Does anyone know how to programmatically expand the nodes of an AdvancedDataGrid tree column in Flex? If I was using a tree I would use something like this:
dataGrid.expandItem(treeNodeObject, true);
But I don't seem to have access to this property in the AdvancedDataGrid.
Thanks for your help!
...
Hi,
I have a advanceddatagrid(ADG1), which is being populated from the query to Database. I have another advanceddatagrid(ADG2), bound to this datagrid. ADG2 basically contains only 1 row, which has exactly same number of columns as the ADG1. The row has details like, count of items in the perticular columns, sum of the records of the p...
Hi,
I have a quick question about rendering the advanceddatagrid cells.
I need to programatically color the cell of the datagrid based on the conditions. Lets say, the stock quotes. If there is an increase from the previous day, I need to have the cell colored in GREEN and in RED, when there is a decrease.
Now, the important part here...
One update:
I tried using the SummaryRow on the datagrid for its basic functionalities and it is working. Now, I need to embed the text in the summary fields. E.g. If one of my summaryfields returns me the count then it should be able to display 'TOTAL (count)'
Is it possible with the summaryrow?
Also, I need to have the data to be fo...
This is my 2nd post on SummaryRows.
I am done with building the summaryrow and its working fine. But, one problem I am encountering is having the row moving in between the AdvancedDataGrid when I sort by some columns. If it stays on the TOP or BOTTOM of the grid, it is understandable. But it sometimes goes in between the rows. I am findi...
I am trying to lock the 1st row in my ADG. This 1st row is the SummaryRow. When I set the lockedRowCount property to 1, it still does not freeze the 1st row. I have tried with different numbers, but it is still not working. In fact, when I try to trace the value for lockedRowCount, it traces it as 0. Can anyone provide suggestion on how...
Hi, We are using AspXGridView devXgrid for our web application. I have to assign two values (id,value) for a column in the grid. How can I do this?
Thanks,
P.Gopalakrishnan.
...
I know you can use the lockedColumnCount property of the AdvancedDataGrid in flex to lock any number of the first columns in a grid, but how could I lock the first and last columns in the grid?
...
I have a hierarchical data set that i would like to display in an advancedDataGrid. My data is a set of composed value objects that do not use the 'children' attribute. On a Tree control you can create a custom dataDescriptor to define which elements contain the children of the node. Can this be done on the datagrid as well?
...