PP.TS.Ui.TabSheetDataSource (settings);
settings. JSON object that contains values of component properties.
The TabSheetDataSource constructor creates an instance of the TabSheetDataSource class.
To execute the example, in the HEAD tag of the HTML page specify links to the following JS files:
PP.js;
PP.Metabase.js;
PP.TabSheet.js
PP.Express.js;
PP.TS.js.
And the following CSS files:
PP.css;
PP.Express.css;
PP.TS.css;
PP.Metabase.css.
A workbook with the key 5183 also must be available.
In the <body> tag as the value of the onLoad attribute specify name of the function executed after page body loading is finished:
<body onselectstart="return false" class="PPNoSelect" onload="Ready()"> <div id='example'></div> </body>
In the end of the document insert code that will set styles corresponding to client's OS to the document.body node:
<script type="text/javascript"> PP.initOS(document.body); </script>
In the SCRIPT tag add the following script:
<script type="text/javascript"> PP.initOS(document.body); </script>
After executing the example the HTML page contains a panel.
See also: