Events"
From Documentation
m |
|||
Line 15: | Line 15: | ||
* If this event is not listened, the event will not be fired. | * If this event is not listened, the event will not be fired. | ||
+ | For example, | ||
<source lang="xml"> | <source lang="xml"> | ||
<pivottable model=""${model} onPivotPopup='alert("Pivot Popup!")' /> | <pivottable model=""${model} onPivotPopup='alert("Pivot Popup!")' /> | ||
</source> | </source> | ||
+ | |||
+ | <!-- TODO: image --> | ||
===onPivotTooltip (mouse over)=== | ===onPivotTooltip (mouse over)=== | ||
Line 23: | Line 26: | ||
* If this event is not listened, the event will not be fired. | * If this event is not listened, the event will not be fired. | ||
+ | For example, | ||
<source lang="xml"> | <source lang="xml"> | ||
<pivottable model=""${model} onPivotTooltip='alert("Pivot Popup!")' /><!-- TODO --> | <pivottable model=""${model} onPivotTooltip='alert("Pivot Popup!")' /><!-- TODO --> | ||
</source> | </source> | ||
+ | |||
+ | <!-- TODO: image --> | ||
===onPivotContext (right click)=== | ===onPivotContext (right click)=== | ||
Line 31: | Line 37: | ||
* If this event is not listened, the event will not be fired. | * If this event is not listened, the event will not be fired. | ||
+ | For example, | ||
<source lang="xml"> | <source lang="xml"> | ||
<pivottable model=""${model} onPivotContext='alert("Pivot Popup!")' /><!-- TODO --> | <pivottable model=""${model} onPivotContext='alert("Pivot Popup!")' /><!-- TODO --> | ||
</source> | </source> | ||
+ | |||
+ | <!-- TODO: image --> | ||
==Information provided by PivotUIEvent== | ==Information provided by PivotUIEvent== |
Revision as of 03:58, 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.
For example,
<pivottable model=""${model} onPivotPopup='alert("Pivot Popup!")' />
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.
For example,
<pivottable model=""${model} onPivotTooltip='alert("Pivot Popup!")' /><!-- TODO -->
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.
For example,
<pivottable model=""${model} onPivotContext='alert("Pivot Popup!")' /><!-- TODO -->
Information provided by PivotUIEvent
PivotUIEvent provides the following information:
- Mouse coordinate relative to Pivottable component.
- Data field on which the event occurs (null if not applicable)
- Header node and subtotal on which the event occurs, for both row and column
- The row and column indices on which the event occurs
PivotHeaderContext
Version History
Version | Date | Content |
---|---|---|