layoutInfo.setExpansion(row, col, type)
Sets the specified cell to expand to display an array of data (typically supplied by the toList function). See Create a Freehand Table for more information about ‘Expand Cell’.
Example
var q = runQuery('ws:global:Examples/AllSales');
FreehandTable1.layoutInfo.setCellBinding(1,0,3,"toList(q['State'],'sort=asc')");
FreehandTable1.layoutInfo.setExpansion(1,0,1); // horizontal expansion
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |