Hello

my application displays a list of entries in a DataGrid. Each entry has a
set of associated metadata (name, value). All of the entries have the same
metadata set, but the set is not known in advance, because it is
configurable on the server side. I guess the only solution is to dynamically
build the data grid columns once the data is received. Could anyone please
point me to any examples of such code ?

One more thing: the data model for exchanging data from server to client is,
as far as I can see it, on two levels. A list of entries, each of which has
a list of meta data. In XML form that could be:

<root>
   <entry someAttribute="xyz">
      <meta name="key1" value="value1"/>
      <meta name="key2" value="value2"/>
      ....
   </entry>
</root>

I seem to have read somewhere that Flex can only introspect one level of an
XML dataset. Am I correct ? Does that mean I cannot use such a data model as
above ?

Thank you
Pier
-- 
View this message in context: 
http://www.nabble.com/dynamic-data-grid-columns-tp25764646p25764646.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to