Set Dimension of the Sheet"

From Documentation
m (Created page with '{{ZKSpreadsheetEssentialsPageHeader}} __TOC__ ZK Spreadsheet can switch different sheet using Spreadsheet.setSelectedSheet(); ==Scenario== We use combobox to represent differe…')
 
Line 9: Line 9:
  
 
===ZUML Example===
 
===ZUML Example===
<source lang="xml" high="2,4">
+
<source lang="xml" high="3,4">
 
<zk>
 
<zk>
 
<div height="100%" width="100%" apply="demo.SheetsComposer">
 
<div height="100%" width="100%" apply="demo.SheetsComposer">
<combobox id="sheets">
+
<combobox id="sheets"></combobox>
</combobox>
 
 
<spreadsheet id="spreadsheet" src="/demo_sample.xls"
 
<spreadsheet id="spreadsheet" src="/demo_sample.xls"
 
maxrows="200"  
 
maxrows="200"  

Revision as of 11:25, 18 November 2010


ZK Spreadsheet can switch different sheet using Spreadsheet.setSelectedSheet();

Scenario

We use combobox to represent different sheets, user can click on it and select sheet.

ZUML Example

<zk>
<div height="100%" width="100%" apply="demo.SheetsComposer">
	<combobox id="sheets"></combobox>
	<spreadsheet id="spreadsheet" src="/demo_sample.xls"	
			maxrows="200" 
			maxcolumns="40"
			width="100%"
			height="450px"></spreadsheet>
</div>
</zk>

Version History

Last Update : 2010/11/18


Version Date Content
     


All source code listed in this book is at Github.


Last Update : 2010/11/18

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.