Why are the columns in my datagrid in some strange order? : adobe flex action script
Answer Posted / Rakesh Das
The columns in a DataGrid can be in a strange order due to a variety of reasons. One common reason is that the DataGrid's creationPolicy property is set to 'all' by default, which means all columns are created immediately. If the data provider changes and adds or removes columns, the DataGrid will not update its layout automatically. To fix this, you can set the creationPolicy to 'auto'. Another reason could be that the columns are defined in a wrong order in the DataGrid's columns array.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers