getTableSource();
The getTableSource method returns data source for the table in the working area of the express report.
The method returns an object of the PP.Exp.EaxTableDataSource class.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Get key of the data source:
// Get object of table data source var tableSource = expressBox.getDataView().getGridView().getTableSource(); // Get data source key console.log("Id: " + tableSource.getId());
After executing the example the console shows key of the table data source:
Id: 20198
See also: