getAdjustmentMgr();
The getAdjustmentMgr method returns manager that controls resizing of table rows and columns.
This method returns an object of PP.Ui.TabSheetAdjustmentMgr type.
To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component). Automatically set width for the column and height for the row with the index 1:
// Get table cell and column size manager var mgr = tabSheet.getAdjustmentMgr(); // Autofit width of the column with the 1 index mgr.autoAdjustColumnWidth(1); // Autofit height of the row with the 1 index mgr.autoAdjustRowHeight(1);
After executing the example width of the second column and height of the second row are set automatically:
Seebsp;also: