Thursday, January 28, 2010

DataGrid with client-side filtering and searching

MDataGrid can be used just like standard DataGrid: you define a dataProvider and columns either in MXML or in ActionScript. If you want a column to allow filtering replace DataGridColumn with MDataGridColumn which by default has a text wildcard filtering enabled. If you prefer to filter column in a different way change filterEditor property of the column to point to some filter editor from com.iwobanas.controls.dataGridClasses.filterEditors package. You can find more information in the ASDoc in the source code.

source: http://www.iwobanas.com/2009/06/datagrid-with-client-side-filtering-and-searching/

No comments:

Freelance