Displaying a data grid rows with different elements based on a xml

Displaying a data grid rows with different elements based on a xml

hi
Is there a way to develop a flex property window that is populated based on a xml,

i have to develop a data grid that can populate the data grid based on xml which is converted to an array collection and provide as a data provider . the xml has a poperty named itemrenderer with wich we have to set the type of the item that has to be displayed in one of the columns and it will change from row to row for the different inputs from the XML .
for exampl

name itemrenderer="TextBox" Panelname
Input-Parameter itemrenderer="DropDown"yyy Input-Parameter

Add Comment

Put code snippets inside language tags:
[language] [/language]

Examples:
[javascript] [/javascript]
[actionscript] [/actionscript]
[csharp] [/csharp]

See here for supported languages.

Javascript must be enabled to submit anonymous comments - or you can login.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.