getInstance();
The getInstance method returns an instance of the PP.Ui.TabSheet class.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Let the following table be available:
Output the number of fixed rows and fixed columns for the table:
var instance = expressBox.getDataView().getGridView().getInstance(); // Output the number of fixed rows console.log(instance.getFixedRowCount()); // Output the number of fixed columns console.log(instance.getFixedColumnCount());
After executing the method the console displays how many fixed rows and fixed columns are available in the table:
2
1
See also: