Skip to content

GridLayout

The layout of columns in a Grid Table row.


When assigning a rule to a property of GridLayout, the rule will be passed an instance of the following proxy class as an argument:


GridLayout Properties

Property Type Required
ColumnWidth integer[] No
ColumnWidthPercentage number[] No
DataSubscriptions DataSubscriptions No
Spacing number No

ColumnWidth

Array of fixed width of a column that you can specify.

  • type: integer[]

All items must be of the type: integer


ColumnWidthPercentage

Array of column width percentages in fractions of 1. A width percentage of -1 denotes auto-width, that is, it takes up all the remaining space. There can only be one -1 width item per section.

  • type: number[]

All items must be of the type: number


DataSubscriptions

Array of data change events to subscribe to.


Spacing

The spacing between columns. For Android devices, this property is ignored.

  • type: number