loadMeasures();
The loadMeasures method loads values to table.
To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component), and an instance of the PP.Ui.DefaultTabSheetDataSource class named dataSource (see the script in the DefaultTabSheetDataSource Constructor page). Load values and the cell range A0-C2 to the table:
// Load values to table dataSource.loadMeasures(); // Determine a cell range var range = tabSheet.getRange(0, 0, 2, 2); // Load the created cell range to table dataSource.loadRanges([range]);
After executing the example values and the cell range A0-C2 are loaded to the table. After the MeasuresLoaded and RangeLoaded events are fired, the browser console shows the number of cells that contain loaded values and the list of loaded ranges:
Number of cells with loaded values: 0
Range loaded (0, 0)-(2, 2)
See also: