HTML/CSS Service

Showcase

2 comments0 views
1 Star2 Stars

Customizing and sorting the DataGrid component

Category: Flex Components    |    2,414 views    |    2 Comments

The following quick start demonstrates how to customize data grid columns, sort data grid columns numerically, format numbers in data grid columns using a custom label function, and how to specify a custom text format for both data grid headers and data grid rows.

CREATING DATA GRID COLUMNS USING THE DATAGRIDCOLUMN OBJECT

There are two main ways to add columns to a DataGrid instance:

  • Pass a string to the data grid’s addColumn() or addColumnAt() method.
  • Pass a DataGridColumn object (fl.controls.dataGridClasses.DataGridColumn) to the data grid’s addColumn() or addColumnAt() method.

By using the DataGridColumn object, you can control additional attributes of the data grid column, such as the following: Read more…

Share/Save/Bookmark

  • No Related Post