Sheetbar"

From Documentation
m
m
Line 27: Line 27:
 
|-
 
|-
 
! Action  || I18 Key
 
! Action  || I18 Key
 +
|-
 +
|| Sheet || zss.sheet
 
|-
 
|-
 
|| Add Sheet || zss.addSheet
 
|| Add Sheet || zss.addSheet

Revision as of 04:32, 5 April 2012

WarningTriangle-32x32.png This page is under construction, so we cannot guarantee the accuracy of the content!



Purpose

ZK Spreadsheet provide sheetbar for user to perform sheet actions, such as select sheet, add sheet, delete sheet etc...

Show Sheetbar

Use Spreadsheet.setShowSheetbar to show sheetbar.

ZKSsEss Spreadsheet Sheetbar.png

Add Sheet

Click the button to add sheet
ZKSsEss Spreadsheet Sheetbar addSheetButton.png

The new sheet name prefix use Sheet, developer could change it by use I18N key zss.sheet
ZKSsEss Spreadsheet Sheetbar addedSheet.png

I18N

Each button/menuitem map to a key, developer could browser all I18 keys by Action.getLabelKeys

Here is partial keys for sheetbar

Action I18 Key
Sheet zss.sheet
Add Sheet zss.addSheet
Delete Sheet zss.deleteSheet
Rename Sheet zss.renameSheet
Move Sheet Left zss.moveSheetLeft
Move Sheet Right zss.moveSheetRight
Protect Sheet zss.protectSheet

Refer to sample i3-label.properties

Version History

Last Update : 2012/04/05


Version Date Content
2.3.0 April, 2012 Sheetbar
     


All source code listed in this book is at Github.


Last Update : 2012/04/05

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