Welcome, Guest. Please login or register.
Did you miss your activation email?
05/23/12, 12:37
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  V2 Components (Flash MX 2004 - Flash 8) (Moderators: vesa kortelainen, Ronald Wernecke, Jorge Solis, ..:: Mazhar Hasan ::.., papachan)
| | |-+  Simple XML and DataGrid failing
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Simple XML and DataGrid failing  (Read 1003 times)
Tim
Server what's that
*
Posts: 1



View Profile Email
« on: 08/09/04, 10:43 »

I just wanted to test XML population of a datagrid.
After searching around I found that the actual element names in the XML doesn't matter but the names of the attributes do.

So here's what I tried.

var myGridDP:XML = new XML(
      "<test>" +
          "<row name='person1' data='blah'/>" +
          "<row name='person2' data='blah2'/>" +
      "</test>");

myDataGrid.dataProvider = myGridDP;


I know that this works with a menu/tree/other list components but with my datagrid this doesn't cause an error but doesn't seem to do anything.

Can someone help me find the error?

Thanks,
-Tim
Logged
Christopher R. Patrick
Server what's that
*
Posts: 2



View Profile WWW Email
« Reply #1 on: 08/18/04, 15:19 »

Hi there-

I have been working with the DataGrid component, and with PHP and XML for the past few weeks now, and I think the best tutorial I have found is at:

http://www.macromedia.com/devnet/mx/flash/articles/flash_xmlphp_05.html

It ties in not only the XMLConnector to combo boxes and DataGrids, but will step you through setting your bindings correctly and such.

Hope this helps.

Chris
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!