Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:custom_buttons [2009/11/28 08:07]
127.0.0.1 external edit
wiki:custom_buttons [2010/05/04 11:51] (current)
tony
Line 28: Line 28:
 where where
   * caption: (string) the caption of the button, can be a empty string.   * caption: (string) the caption of the button, can be a empty string.
-  * buttonicon: (string) is the ui icon name from UI theme icon set.+  * buttonicon: (string) is the ui icon name from UI theme icon set. If this option is set to "​none" ​ only the text appear.
   * onClickButton:​ (function) action to be performed when a button is clicked. Default null.   * onClickButton:​ (function) action to be performed when a button is clicked. Default null.
   * position: ("​first"​ or "​last"​) the position where the button will be added (i.e., before or after the standard buttons).   * position: ("​first"​ or "​last"​) the position where the button will be added (i.e., before or after the standard buttons).
   * title: (string) a tooltip for the button.   * title: (string) a tooltip for the button.
   * cursor : string (default pointer) determines the cursor when we mouseover the element   * cursor : string (default pointer) determines the cursor when we mouseover the element
 +  * id : string (optional) - if set defines the id of the button (actually the id of TD element) for future manipulation
  
 <​note>​In order to use navButtonAdd method a navGrid method should be called before that as seen in the example above</​note>​ <​note>​In order to use navButtonAdd method a navGrid method should be called before that as seen in the example above</​note>​

QR Code
QR Code wiki:custom_buttons (generated for current page)