Events"
From Documentation
m (→PivotUIEvent) |
|||
Line 4: | Line 4: | ||
==PivotUIEvent== | ==PivotUIEvent== | ||
− | PivotUIEvent is fired when user operates on the Pivottable. | + | PivotUIEvent is fired when user operates on the Pivottable. This event class covers the following types of Events: ''onPivotNodeOpen, onPivotPopup, onPivotTooltip, onPivotContext''. |
− | |||
+ | The effective regions where the event will occur are '''column area''', '''row area''', and '''data area'''. In other words, activities in title cells do not trigger this event. | ||
===onPivotNodeOpen=== | ===onPivotNodeOpen=== | ||
− | + | This event is fired when user clicks on the open/close icon of a header node rows or columns. | |
===onPivotPopup (left click)=== | ===onPivotPopup (left click)=== | ||
− | + | This event is fired when user left-clicks on a cell. | |
+ | * If this event is not listened, the event will not be fired. | ||
===onPivotTooltip (mouse over)=== | ===onPivotTooltip (mouse over)=== | ||
− | + | This event is fired when user's cursor hovers on a cell. | |
+ | * If this event is not listened, the event will not be fired. | ||
===onPivotContext (right click)=== | ===onPivotContext (right click)=== | ||
− | + | This event is fired when user right-clicks on a cell. | |
+ | * If this event is not listened, the event will not be fired. | ||
==Information provided by PivotUIEvent== | ==Information provided by PivotUIEvent== |
Revision as of 03:46, 30 March 2011
PivotUIEvent
PivotUIEvent is fired when user operates on the Pivottable. This event class covers the following types of Events: onPivotNodeOpen, onPivotPopup, onPivotTooltip, onPivotContext.
The effective regions where the event will occur are column area, row area, and data area. In other words, activities in title cells do not trigger this event.
onPivotNodeOpen
This event is fired when user clicks on the open/close icon of a header node rows or columns.
onPivotPopup (left click)
This event is fired when user left-clicks on a cell.
- If this event is not listened, the event will not be fired.
onPivotTooltip (mouse over)
This event is fired when user's cursor hovers on a cell.
- If this event is not listened, the event will not be fired.
onPivotContext (right click)
This event is fired when user right-clicks on a cell.
- If this event is not listened, the event will not be fired.
Information provided by PivotUIEvent
PivotUIEvent provides the following information:
- Mouse coordinate relative to Pivottable component.
- On which data field it occurs (null if not applicable)
- On which header node and subtotal it occurs, for both row and column
PivotHeaderContext
Version History
Version | Date | Content |
---|---|---|