component/data_table
library
Classes
-
DataColumn
-
Extension of stock DataColumn, adds the capability to set relative column
size via size property
-
DataRow
-
Extension of standard DataRow, adds row level tap events. Also there're
onSecondaryTap and onSecondaryTapDown which are not available in DataCells and
which can be useful in Desktop settings when a reaction to the right click is required.
-
DataTable
-
In-place replacement of standard DataTable widget, mimics it API.
Has the header row always fixed and core of the table (with data rows)
scrollable and stretching to max width/height of it's container.
By using DataColumn instead of DataColumn it is possible to control
relative column sizes (setting them to S, M and L). DataRow provides
row-level tap event handlers.
-
SyncedScrollControllers
-
Creates pairs of scroll controllers which can be provided to scrollables and ensure that
offset change in one scrollable scroll the second one (and vice a versa)
There's a bug (or feature) on iOS with bouncing scroll (when it goes out of range)
when scrollable get out of sync while in this bouncing position
-
Enums
-
ColumnSize
-
Relative size of a column determines the share of total table width allocated
to each individual column. When determining column widths ratios between S, M and L
columns are kept (i.e. Large columns are set to 1.2x width of Medium ones)