When to DataGrid and when not too!
This week I saw an implementation using a DataGrid that was way overkill. I MEAN WAY WAY OVERKILL!
In short, I thought I would list when NOT to use a datagrid.
Per the Adobe Flex docs here is the use for a datagrid.
The DataGrid control is intended for viewing data, and not as a layout tool like an HTML table. The mx.containers package provides those layout tools.
In short, a developer was using a DataGrid as a way to list visual objects in vertical order. Basically they were using a DataGrid as a VBox.
It even increased the size of the SWF by 40k compared to using a VBox.


There are no comments for this entry.
[Add Comment]