[flexcoders] Re: Dynamic datagrid columns

2006-08-17 Thread iviivi_us
I am using the same approach and have problem with sorting. It looks this way : 1.Datagrid is loaded with data. 2.User is clicking on any sortable column and grid is sorted by the column field. 3.Now user is changing name of table for data retrieval(DDLb click event), request is send to backend

[flexcoders] Re: Dynamic datagrid columns

2006-08-16 Thread e_baggg
Tom- The Datagrid component now has an attribute called columns. When you dynamically create columns, add them to an array and set datagrid.columns value to this array. To add or remove columns, just get a reference to that 'columns' attribute and call normal array methods. I actually have