Sheetbar"

From Documentation
m
m
Line 11: Line 11:
 
Use <javadoc directory="zss"  method="setShowSheetbar">org.zkoss.zss.ui.Spreadsheet</javadoc> to show sheetbar.
 
Use <javadoc directory="zss"  method="setShowSheetbar">org.zkoss.zss.ui.Spreadsheet</javadoc> to show sheetbar.
  
====Add Sheet====
+
[[File:ZKSsEss_Spreadsheet_Sheetbar.png]]
  
====Delete Sheet====
+
====I18n====
 +
Each button/menuitem map to a key, developer could browser all I18 keys by <javadoc directory="zss"  method="getLabelKeys">org.zkoss.zss.ui.Action</javadoc>
  
====Protect Sheet====
+
Here is partial keys for context menu
 +
{| border="1"
 +
|-
 +
! Action  || I18 Key
 +
|-
 +
|| 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
 +
|}
  
====Move Sheet====
+
Refer to sample [http://code.google.com/p/zkbooks/source/browse/trunk/zssessentials/examples/WebContent/WEB-INF/i3-label.properties i3-label.properties]
 +
 
 +
[[File:ZKSsEss_Spreadsheet_Sheetbar_I18NSheetbar.png]]
  
 
=Version History=
 
=Version History=

Revision as of 03:19, 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

I18n

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

Here is partial keys for context menu

Action I18 Key
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

File:ZKSsEss Spreadsheet Sheetbar I18NSheetbar.png

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.