Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
Mgala #1
datagrid sort columns not rows
Hi,
I am filling a datagrid via xml and the columns as not created in the order I
have in my xml. I've also added them in the correct order in the schema in the
datagrid.
I want the order to appear as OrderID, CustID, Company, Items, AMT. But is
shows as OrderID, Items, CustID, Company, AMT
I've attached the 1st row of data from the xml. How do I set the correct
order?
Marty
<?xml version="1.0"?>
<results_packet>
<rec OrderID="40000" CustID="13000" Company="Regular Insurance" Items="235"
AMT="365" />
</results_packet>
Mgala Guest
-
Add/Delete rows/columns in datagrid
Hi, I'm trying to add additional or delete rows/columns to a datagrid based on a specified number. I tried addColumn, this only adds 1 column at... -
Why i am not able to sort the amount columns havinglabel function in a datagrid?
Hi I am not able to sort the amount column in a datagrid which has a label function for currency fomatter. Thanks -Pooja -
DataGrid: Selecting multiple rows/columns
Hi, I would like to enhance the DataGrid by adding scripting functionality that allows the selection of multiple rows or columns via... -
DataGrid, 7 columns on 2 rows?
Is this possible? I currently have a datagrid showing 7 columns, I would like to show the 6th and 7th columns on the next row. How can I do this? -
Inverting DataGrid columns and rows in excel
I am populating a datagrid and allowing it to be exported as an excel spreadsheet but my internal customer needs the columns and rows inverted. Any... -
Sean Rhea #2
Re: datagrid sort columns not rows
You can add the columns programmatically to ensure they appear in the right
order. For instance:
dg.addColumn("OrderID");
dg.addColumn("CustID");
dg.addColumn("Company");
dg.addColumn("Items");
dg.addColumn("AMT");
Hope that helps!
Sean Rhea Guest
-
Mgala #3
Re: datagrid sort columns not rows
Sean,
Thanks. I'll keep this in my arsenal. What I did was add the fields to the
dataset from the schema tab in the order I wanted. It did the trick. I am
currently developing with code and visually. As I move to code this will be
really helpful.
Marty
Mgala Guest



Reply With Quote

