Spreadsheet - removing button from toolbar

asked 2015-06-16 09:34:36 +0800

wcss gravatar image wcss
1 1

updated 2015-06-22 07:54:50 +0800

Is there any way to remove some buttons (or to make them visible disabled) in standard toolbar in spreadsheet?

It is not exactly what I wanted. I wanted something like that in my toolbar: (h**p://imgur.com/NsDLJ9J)

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-20 18:51:21 +0800

roliroli gravatar image roliroli
164 4

updated 2015-06-20 18:51:55 +0800

of course, you can make the toolbar button disabled

Toolbar actions are called "AuxAction" in ZK Spreadsheet

Checkout this document http://books.zkoss.org/wiki/ZK%20Spreadsheet%20Essentials/Working%20with%20Spreadsheet/Advanced/Toolbar%20Customization

it says

developers can override it to disable or enable action by Spreadsheet.setActionDisabled

But according the API document, seems API changed name to disableUserAction

Moreover, you may want to know what action can be disabled. You can check this document: http://www.zkoss.org/javadoc/latest/zss/org/zkoss/zss/ui/AuxAction.html

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2015-06-16 09:34:36 +0800

Seen: 28 times

Last updated: Jun 22 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More