Minor update of the Grid Component

I’ve done some fixes for the Grid Component. Still more of a prototype so you can expect some problems.

You can download new version from here.
You can see new version here.

To use it add the WidgetLibrary.swc into the project and follow an example.

Also the following properties are available:

  • headerLabel
  • headerStyleName
  • headerLabelStyleName
  • displayOptionsLinkStyleName
  • dataGridStyleName
  • columnEditorStyleName
  • columnEditorTitle

To control order of the columns you can define array of ColumnDescriptor and use dimensionData property. For example:

[Bindable]
public var testDimensionArr:Array =
[
new ColumnDescriptor(”Author”, “Author”, “”, true),
new ColumnDescriptor(”Book”, “Book”, “”, true),
new ColumnDescriptor(”Edition”, “Edition”, “”, true)
];

and add the following property to the Table tag: dimensionData=”{testDimensionArr}”


About this entry