Skip to main content
Version: 9.0.2

sb.getTableCellAttrs

sb.getTableCellAttrs(tableName, 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

An object with the results is returned.

Parameters

ParameterTypeDescription
tableNamestringThe model full path of the table to get information about.
rownumberThe row of the table to get information on.
colnumberThe column of the table to get information on.
tagsstringOne or more tags as strings.

Returns

TypeDescription
objectAn object containing the tags as keys with the associated object value being the Storyboard value associated with that tag.

Example

function checkIfHidden() {
// check if my_control is currently hidden
var dk_data = sb.getTableCellAttrs("my_table", 1, 1, "hidden");
if (dk_data.hidden == 1) {
print("cell 1.1 of my_table is currently hidden");
} else {
print("cell 1.1 of my_table is currently visible");
}
}