Noob Question.
I have been trying to find a simple example to load a XML file from the users computer and then have it displayed in a Datagrid.
The XML file has only two nodes, for eg.
<users>
<firstname>Jane</firstname>
<lastname>Doe</lastname>
</users>
I just want the data grid to display all data in two columns. The catch is that the user types the PATH OF the XML file. So it can be diff for diff users.
Text Box ------- Load File Button
Datagrid
I don't care if the windows explorer opens or not , if the file is found and the format is correct then juat load the data. The user has to type the path.
I couldnt find much information on loading a file , can anyone help. I am a flex noob so please HELP!!
I have been trying to find a simple example to load a XML file from the users computer and then have it displayed in a Datagrid.
The XML file has only two nodes, for eg.
<users>
<firstname>Jane</firstname>
<lastname>Doe</lastname>
</users>
I just want the data grid to display all data in two columns. The catch is that the user types the PATH OF the XML file. So it can be diff for diff users.
Text Box ------- Load File Button
Datagrid
I don't care if the windows explorer opens or not , if the file is found and the format is correct then juat load the data. The user has to type the path.
I couldnt find much information on loading a file , can anyone help. I am a flex noob so please HELP!!