gre.get_table_cell_attrs

gre.get_table_cell_attrs(
    table_name,
    row,
    col,
    tags ...
)
            

Get properties for a table cell.  table_name is the name of the table.  Tags can be a list of the following values:

        x, y, width, height, hidden

A table with the results is returned.


Parameters:

        table_name    The model full path of the table to get information about
        row   The row of the table to get information on
        col   The column of the table to get information on
        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 = {}
    -- check if my_control is currently hidden
    dk_data = gre.get_table_cell_attrs("my_table", 1, 1, "hidden")
    if dk_data["hidden"] == 1 then
        print("cell 1.1 of my_table is currently hidden")
    else
        print("cell 1.1 of my_table is currently visible")
    end
end