PP.TS.Ui.TablePanel(settings);
settings. JSON object that contains values of class properties.
The TablePanel constructor creates an instance of the TablePanel class.
To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Create a table settings panel and add it to the workbook side panel:
// Get workbook properties panel var propertyBar = workbookBox.getPropertyBarView(); // Create a table setting panel var tablePanel = new PP.TS.Ui.TablePanel({ Source: workbookBox.getSource(), // Data source Mode: PP.TS.Ui.WbkTablePanMode.Filter, // View of panel settings ResourceKey: "WorkbookPropertyData", IsHeaderControlVisible: False, // Hide a control in the title ViewType: PP.Ui.NavigationItem }); // Add the setting panel to the properties panel propertyBar.addMasterPanel(tablePanel); // Display and expand this panel tablePanel.show(); tablePanel.expand();
After executing the example a table settings panel is created. Next this panel is added to the workbook side panel, shown and expanded:
See also: