On Fri, Dec 19, 2008 at 2:18 PM, lorenzo.boaro <[email protected]> wrote:
> is it correct that i create a custom object and dut put it in my array > like previous one? I actually wrote a blog entry about this. http://manishjethani.com/guaranteeing-enumeration-order But I'm a bit lost now. It looks like you're trying to populate a DataGrid with these objects, and you want the columns in the right order. Well, the DataGrid will sort the properties alphabetically, no matter what order you've set. The best way to set the correct order is to specify your own columns array. <DataGrid> <columns> <DataGridColumn dataField="property1" /> <DataGridColumn dataField="property2" /> ... </columns> </DataGrid> Manish

