Delete_All_Rows
Syntax:
_Delete_All_Rows(Table_Name)
Purpose: Deletes all rows from a specified table.
Delete_Rows
Syntax:
_Delete_Rows(Table_Name,
rows_to_delete_comma_separated, slideLeftTransitionTime,
slideUpTransitionTime)
Purpose: Deletes specified rows from a table with optional animation effects.
rowArray (required): A Lua array of row indices to delete (e.g., { 2,3,5 }).
animationOptions (optional): A table of time animation options for the deletion effect. Includes:
slideLeftTransitionTime
:
Time in milliseconds for the slide-left animation.
slideUpTransitionTime
:
Time in milliseconds for the slide-up animation.
Get_Content_Position
Syntax:
_Get_Content_Position(Table_Name)
Purpose: Retrieves the content position within a table.
Get_Num_Rows
Syntax:
_Get_Num_Rows(Table_Name)
Purpose: Returns the number of rows in a specified table.
Insert_Row
Syntax:
_Insert_Row(Table_Name,
id, rowHeight, category, p1, p2, ..., p20)
Purpose: Inserts a new row into a table and requires a Render function. Inside the render function, you can access the p# values using _Dat[#].
Default color values are provided if none are specified.
Reload_Rows
Syntax:
_Reload_Rows(Table_Name)
Purpose: Reloads (re-renders) the visible rows of a TableViewWidget.
Retrieved_Row_At_Index
Syntax:
_Retrieved_Row_At_Index(Table_Name,
rowIndex)
Purpose: Retrieves row data at the specified index in a table.
Row_Index
Syntax:
_Row_Index()
Purpose: Returns the row index (likely context-dependent, more information might be needed).
Scroll_To_Index
Syntax:
_Scroll_To_Index(Table_Name,
rowIndex, time, onComplete_function)
Purpose: Scrolls a table to the specified row index with optional animation.
rowIndex (required): The row index to scroll to.
time (optional): Time in milliseconds for the scroll transition (default: 400ms).
onComplete (optional): Function to be called when the scroll completes.
Scroll_To_Y
Syntax:
_Scroll_To_Y(Table_Name,
y, time, onComplete_function)
Purpose: Scrolls a table to the specified y position with optional animation.
y (required): The y position to scroll to.
time (optional): Time in milliseconds for the scroll transition (default: 400ms).
onComplete (optional): Function to be called when the scroll completes.
Table_Is_Locked
Syntax:
_Table_Is_Locked(Table_Name,
status)
Purpose: Sets a TableViewWidget to either locked (non-scrolling) or unlocked (default).