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…') |
m (→ZUML Example) |
||
Line 9: | Line 9: | ||
===ZUML Example=== | ===ZUML Example=== | ||
− | <source lang="xml" high=" | + | <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> |
− | |||
<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
Version | Date | Content |
---|---|---|
All source code listed in this book is at Github.