expand collaps

Drag-and-Drop
Before | After | Description
onBeforeDrag |  | Event called when user initiate drag start. ID of draged row Returns:true - confirm drag; false - deny drag; any other text value - value will be used as visual representation of dragged row
onDrag |  | Event occured after item was dragged and droped on another item, but before item moving processed. ID of source item ID of target item source grid object target grid object index of column from which drag started index of column in which drop occurs Returns:true - confirm drag-and-drop; false - deny drag-and-drop;
onDragIn* |  | Event raised if drag moved over potencial landing ID of source item ID of target item source grid object target grid object Returns:true - allow landing; false - deny landing;
onDragOut* |  | Event raised if drag moved out from potencial landing ID of source item ID of target item source grid object target grid object
| onDrop* | Event raised after drag-and-drop processed. ID of source item ID of target item ID of droped item (has sense for mercy drag-n-drop) source grid object target grid object index of column from which drag started index of column in which drop occurs
Editing
Before | After | Description
onEditCell | onEditCell | Event raises 1-3 times depending on cell editibality. stage of editting (0-before start[can be canceled if returns false],1-editor opened,2-editor closed) ID or row index of cell new value ( only for stage 2 ) old value ( only for stage 2 )
onRowDblClicked * |  | Event raised right after row was double clicked, before cell editor opened by dbl click. If retuns false, event canceled; ID or row index of column
| onCellChanged * | event fired after value was changed row ID cell index new value
| onCheckbox | Deprecated, use onCheck event instead.Event raises after state was changed. ID or row index of cell state of checkbox/radiobutton
| onCheck | Event raises after checkbox state was changed. ID or row index of cell state of checkbox/radiobutton
| onRowPaste | event called for each row, which pasted from clipboard ( block selection extension ) row id
Grid reconstruction
Before | After | Description
| onGridReconstructed | Event raised immideatly after row added/deleted or grid reordered. grid object
| onRowAdded | Event raised right after row was added to grid ID or row
| onRowCreated* | event fired after row created in grid, and filled with data row id row object related xml ( if available )
onBeforeRowDeleted |  | Event raised right before row deleted (if returns false, deletion canceled) ID or row
Loading
Before | After | Description
onXLS* |  | event fired before request for new XML sent to server grid object
| onXLE* | event fired simultaneously with ending XML parsing, new items already available in grid grid object count of rows added
onSubGridCreated* |  | event fired after sub grid creation was initiated sub grid object related row id related row index Returns:true - confirm data loading for sub grid; false - deny data loading for sub grid;
| onSubGridLoaded* | event fired after data from subgrid loaded and parsed sub grid object related row id related row index
Moving
Before | After | Description
onBeforeCMove * |  | event called on start of column moving operation index of moved column index of new position
| onAfterCMove * | event called after column moved index of moved column index of new position
Opening
Before | After | Description
onOpenStart* |  | Event raised immideatly after item in tree got command to open/close , and before item was opened//closed. Event also raised for unclosable nodes and nodes without open/close functionality - in that case result of function will be ignored. ID of node which will be opened/closed Current open state of tree item. -1 - item closed, 1 - item opened. Returns:true - confirm opening/closing; false - deny opening/closing;
| onOpenEnd* | Event raised immideatly after item in tree got command to open/close , and before item was opened//closed. Event also raised for unclosable nodes and nodes without open/close functionality - in that case result of function will be ignored. ID of node which will be opened/closed Current open state of tree item. -1 - item closed, 1 - item opened.
Paging
Before | After | Description
onBeforePageChanged * |  | called before changing active page in grid ( paging extension ) index of current page count of pages
| onPageChanged * | called after changing active page in grid ( paging extension ) index of current page index of first row on page index of last row on page
| onPaging * | event called each time when paging settings changed ( paging extension ) count of pages
Resizing
Before | After | Description
| onResize | event fired on each resize itteration cell index cell width grid object
| onResizeEnd | event fired after resizing of column finished grid object
Selection
Before | After | Description
onBeforeSelect* |  | event fired moment before row in grid get selection new selected row old selected row
| onRowSelect | Event raised immideatly after row was clicked. ID of clicked row index of clicked cell
| onSelectStateChanged | Event raised immideatly after selection state was changed ID or list of IDs of selected row(s)
| onBlockSeleted* | event called when area selected in grid ( block selection extension )

Sotring

Before | After | Description
onBeforeSorting* |  | event called before sorting of data started index of sorted column grid object direction of sorting asc/desc
| onAfterSorting | event called after sorting occurs in grid

Context menu

Before | After | Description
onBeforeContextMenu* |  | Event raised immideatly before showing context menu ID of clicked row index of cell column grid object
| onRightClick | Event raised immideatly after right mouse button clicked on grid row ID of clicked row index of cell column event object

Other

Before | After | Description
| onClearAll | event called when grid cleared ( reloaded )
| onEnter | Event raised immideatly after Enter pressed. ID or row index of cell
onFilterStart |  | called when filtering activated but before real filtering started
| onFilterEnd | called after filtering complit ( filtering extension )
| onStatReady | called after stat values calculated
| onHeaderClick* | Event raised right after header was clicked, before sorting or any other actions; index of column related javascript event object
| onKeyPress* | event fired after key pressed but before default key processing started key code control key flag shift key flag
| onMouseOver | event called when mouse moved over cell row id cell index
| onScroll | Event raised immideatly after scrolling occured scroll left scroll top

* - available only in professional version