MDataTableStyle
-
MListSelection
-
enabled : Transform<bool>
-
multiple : bool
-
toggle : bool
-
selected : DynamicBehaviour<[ int ]>
-
enabled : Transform<bool>
-
MListSelectionEnabled
-
MPagination
Style adds footer with pagination-
current : DynamicBehaviour<int>
-
rowsPerPage : [ int ]
-
current : DynamicBehaviour<int>
-
MPaginationAutoScaling
Style inspects the available vertical space, and defines the number of rows accordingly -
assuming fixed height rows (48 dp default and 32 dp for MCondensed style) -
MCondensed
Style for slimmer rows (height = 32 dp)-
condensed : bool
-
condensed : bool
-
MSortingDefault
Style for default sorting: columnIndex, isAscending-
sorting : DynamicBehaviour<MSortingParam>
-
sorting : DynamicBehaviour<MSortingParam>
-
MFullWidth
Style for expand space between columns to full width -
MFullWidthAdvanced
Style for increase width of columns (a multiple of 8), keeping the ratio of widths, to full width -
MInCard
Adds elevation and background to table -
MOnListClick
-
enabled : Transform<bool>
-
onClick : (int) -> void
-
enabled : Transform<bool>
-
MMinTableHeigth
Style to define a minimum height-
height : double
-
height : double
-
MSingleSelection
Helpers for easier selection, for advanced stuff use MListSelection-
selected : DynamicBehaviour<int>
-
selected : DynamicBehaviour<int>
-
MMultiSelection
-
selected : DynamicBehaviour<Set<int>>
-
selected : DynamicBehaviour<Set<int>>
-
MSelectedBackgroundStyle
MSelectedX styles works only with MListSelection() state-
style : [ TGraphicsStyle ]
-
style : [ TGraphicsStyle ]
-
MCurrentPage
Allows inspect or change page number-
page : DynamicBehaviour<int>
-
page : DynamicBehaviour<int>
-
MGoToIndex
Set number of row to show-
index : DynamicBehaviour<int>
-
index : DynamicBehaviour<int>
-
MHeaderActions
Adds an additional header to table or replaces current. Avoid using height fillers in actions when MPaginationAutoScaling is present.-
actions : Material
-
style : [ MDataTableHeaderActionsStyle ]
-
actions : Material
-
MCheckBoxSelection
-
style : [ MCheckBoxSelectionStyle ]
-
style : [ MCheckBoxSelectionStyle ]
-
MRowHeight
Style for rows with a specified height-
height : double
-
height : double
-
MHeaderRowHeight
-
height : double
-
height : double
-
MHoverEnabled
Disable hover-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
MClickEnabled
Disable any mouse interaction without making component disabled-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
MRowSpacing
-
spacing : double
-
spacing : double
-
MNoSeparators
-
MNoFooter
Removes footer area. Ignored if pagination is on. -
MHideAutoPaginationFooter
Hides footer in case of MPaginationAutoScaling and all rows are on one page. -
MExpandRow
Enabled or disable row expansion-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
TScrollEnabled
-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
TScrollPosition
-
position : DynamicBehaviour<Point>
-
position : DynamicBehaviour<Point>
-
MListReorder
-
order : DynamicBehaviour<[ int ]>
-
enabled : Transform<bool>
-
order : DynamicBehaviour<[ int ]>
-
MListReorderHideIcon
Hide "drag_handle" icon which added automatically by MListReorder style -
MHeaderStyle
Style to define DataTable headers background and text style. textStyleSelected is useless, it is here for compability reasons.-
background : [ TGraphicsStyle ]
-
textStyle : [ MEllipsisTextStyle ]
-
textStyleSelected : [ MTextStyle ]
-
background : [ TGraphicsStyle ]
-
MFixedRow
Add this cols as a first fixed row-
show : Transform<bool>
-
cols : [ Material ]
-
style : [ MFixedRowStyle ]
-
show : Transform<bool>
-
MListSorted
Returns new sequence of rows indexes if data was sorted-
newOrderCallback : ([ int ]) -> void
-
newOrderCallback : ([ int ]) -> void
-
MRowBackgroundStyle
Add background for each row by row number (zero based)-
fn : (rowIndex : int) -> [ TGraphicsStyle ]
-
fn : (rowIndex : int) -> [ TGraphicsStyle ]
-
MExternalSort
For external sorting (SQL sorting for example). Turns off sorting in MDataTable but keeps column header sorting icon.
Sorting params (columnIndex, ascending) use from MSortingDefault -
MWidthByContent
Sets column width by content width. Overrides "width" parameter and MMaxWidth. -
MNoCrop
-
MShowRowNumbers
Adds a column to the left with row numbers -
MRowsPerPage
Only inspects current rows per page-
rowsPerPage : DynamicBehaviour<int>
-
rowsPerPage : DynamicBehaviour<int>
-
MUpdateSorting
Updates sorting every n ms-
delay : int
-
delay : int
-
MDataTableInnerScroll
-
mode : MDataTableScrollMode
-
style : [ MScrollStyle ]
-
mode : MDataTableScrollMode
-
MEnabled
Disables inner clickable materials in most of the components-
enabled : Transform<bool>
-
enabled : Transform<bool>