Mouse Event

From Documentation
Revision as of 10:12, 25 June 2013 by Hawk (talk | contribs) (Created page with " ===Mouse events=== There are two types of Mouse events. One is cell mouse events such as onCellClick, onCellDoubleClick and onCellRightClick * '''onCellClick''' - This event i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Mouse events

There are two types of Mouse events. One is cell mouse events such as onCellClick, onCellDoubleClick and onCellRightClick

  • onCellClick - This event is fired when the user left clicks on ZK Spreadsheet cell. Event listeners are provided with CellMouseEvent in the event listener.
  • onCellDoubleClick - This event is fired when the user double clicks on ZK Spreadsheet cell. Event listeners are provided with CellMouseEvent in the event listener.
  • onCellRightClick - This event is fired when the user right clicks on ZK Spreadsheet cell. Event listeners are provided with CellMouseEvent in the event listener.

and the other is header mouse events such as onHeaderClick, onHeaderDoubleClick and onHeaderRightClick.

  • onHeaderClick - This event is fired when the user left clicks on ZK Spreadsheet header. Event listeners are provided with HeaderMouseEvent in the event listener.
  • onHeaderDoubleClick - This event is fired when the user double clicks on ZK Spreadsheet header. Event listeners are provided with HeaderMouseEvent in the event listener.
  • onHeaderRightClick - This event is fired when the user right clicks on ZK Spreadsheet header. Event listeners are provided with HeaderMouseEvent in the event listener.