TableCatView.getPanelsJSON

Syntax

getPanelsJSON();

Description

The getPanelsJSON method returns panels of the Constructor panel in the JSON format.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Refresh the Conditional Formatting button:

//Get an instance of the PP.Exp.Ui.TableCategory class
eRib = expressBox.getRibbonView();
ribbon = eRib.getControl();
cat = ribbon.getCategories();
group = cat.getItem(cat.getCount() - 1);
tableCat = group.getCategories(True)[0];
// Get panels of the Constructor tab
tableCat.getPanelsJSON();
// -> [Object,  Object,  Object,  Object,  Object,  Object,  Object]

After executing the example all panels of the Constructor tab are obtained.

See also:

TableCatView