RE: [flexcoders] Is there a way to set the starting index of a DataGrid

2008-07-17 Thread Alex Harui
You might be able to customize a custom collection from my blog

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jlopes151
Sent: Thursday, July 17, 2008 5:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Is there a way to set the starting index of a
DataGrid

 

What I want is to load data from an xml file, skipping over the first 
node. I want to use the first node of the xml data as header info, 
were the rest of the file contians the data grid data.

Thanks for any help

 



RE: [flexcoders] Is there a way to set the starting index of a DataGrid

2008-07-17 Thread Tracy Spratt
You can use an e4x expression to leave off the first row.  *Something*
like:

var xlData:XMLList = xmlData.children().(childIndex()0);

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Thursday, July 17, 2008 10:50 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Is there a way to set the starting index of a
DataGrid

 

You might be able to customize a custom collection from my blog

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jlopes151
Sent: Thursday, July 17, 2008 5:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Is there a way to set the starting index of a
DataGrid

 

What I want is to load data from an xml file, skipping over the first 
node. I want to use the first node of the xml data as header info, 
were the rest of the file contians the data grid data.

Thanks for any help