Data tables display sets of data across rows and columns.
You can pass options and and configure your header and rows to add specific functionality.
Add Sortable to the header type if you want the column to be sortable when click. You can also add the Numeric type to right align text for number values.
Add Selectable option to make the rows in the table selectable.
You can also add a footer into your table if you want controls associated with table interactions.
Methods
The following methods are available on the DataTable object:
Focus()
GetAbsHeight() → Number: integer
GetAbsWidth() → Number: integer
GetParent() → app object
Gone()
Hide()
IsEnabled() → Boolean
IsVisible() → Boolean
PrependRow(
row )
RemoveRows(
index )
SetEnabled(
enable )
Show()