This example shows events fired by DataViews and how to use them.
The events and information associated with those events will show up in the text area when they are checked in the list and the event occurs on the grid. Those events are as follows:
rowClick: Occurs when the user clicks on a row.
rowDbClick: Occurs when the user double-clicks a row.
columnChanged: Occurs when the user changes columns (in this case, clicking on the arrow next to 'Days Taken' to change the columns).
columnReorder: Occurs when the user moves columns around by clicking and dragging.
editing: Occurs when the user starts and stops editing.
grouping: Occurs when the user groups a column by clicking on it and dragging it to the top of the grid.
focusChanged: Occurs when the user changes the focus on different rows/columns/cells.
selectionChanged: Occurs when the user changes the selection of rows/columns/cells in the grid.
You can change the selection mode to choose how many rows can be selected at a time. The
ToolPanel button can be used to select which columns you want to see in the grid.