gre.get_table_attrs( table_name, tags )
Get properties for a table. Key name is the name of the control or a variable. Tags can be any of the control tags mentioned in section 6.1.12 and any of the following values:
The number of rows in the table
The number of columns in the table
The number of visible rows in the table
The number of visible columns in the table
The active cell row
The active cell column
The row index of the upper left row
The column index of the upper left column
The current scroll offset in the x direction
The current scroll offset in the y direction
Parameters:
table_name The model full path of the table to get information about
tags One or more tags as strings
Returns:
A table containing the tags as keys with the associated table value being the Storyboard
value associated with that tag.
Example:
function check_if_hidden() local dk_data = {} -- Get the active row/column dk_data = gre.get_table_attrs("my_table", "active_row", "active_col") print("Active Cell: " .. tostring(dk_data["active_row"] .. "," .. tostring(dk_data["active_col"])) end