The following tables list the members exposed by GridSortingClientEvents.
Name | Description | |
---|---|---|
ColumnSorted | Event fired after the column has already been sorted and data - re-rendered. Function takes arguments evt and ui. Use ui.owner to get reference to igGridSorting. Use ui.owner.grid to get reference to igGrid. Use ui.columnKey to get column key. Use ui.direction to get sorting direction. | |
ColumnSorting | Event fired before sorting is invoked for a certain column. Return false in order to cancel column sorting. Function takes arguments evt and ui. Use ui.owner to get reference to igGridSorting. Use ui.owner.grid to get reference to igGrid. Use ui.columnKey to get column key. Use ui.direction to get sorting direction. | |
ModalDialogButtonApplyClick | Event fired when button Apply in modal dialog is clicked. The handler function takes arguments evt and ui. Use ui.owner to get the reference to the igGridSorting widget. Use ui.owner.grid to get the reference to the igGrid widget. Use ui.modalDialogElement to get a reference to the modal dialog element. This is a jQuery object. Use ui.columnsToSort to get array of columns which should be sorted - array of objects of sort order - Asc/Desc and columnIdentifier. | |
ModalDialogButtonResetClick | Event fired when the button to reset sorting is clicked. The handler function takes arguments evt and ui. Use ui.owner to get the reference to the igGridSorting widget. Use ui.owner.grid to get the reference to the igGrid widget. Use ui.modalDialogElement to get a reference to the modal dialog element. This is a jQuery object. | |
ModalDialogButtonUnsortClick | Event fired when button to unsort column is clicked in modal dialog. The handler function takes arguments evt and ui. Use ui.owner to get the reference to the igGridSorting widget. Use ui.owner.grid to get the reference to the igGrid widget. Use ui.modalDialogElement to get a reference to the modal dialog element. This is a jQuery object. Use ui.columnKey to get the column key. | |
ModalDialogClosed | Event fired after the modal dialog has been closed. The handler function takes arguments evt and ui. Use ui.owner to get the reference to the igGridSorting widget. Use ui.owner.grid to get the reference to the igGrid widget. Use ui.modalDialogElement to get a reference to the modal dialog element. This is a jQuery object. | |
ModalDialogClosing | Event fired before the modal dialog is closed. The handler function takes arguments evt and ui. Use ui.owner to get the reference to the igGridSorting widget. Use ui.owner.grid to get the reference to the igGrid widget. Use ui.modalDialogElement to get a reference to the modal dialog element. This is a jQuery object. | |
ModalDialogContentsRendered | Event fired after the contents of the modal dialog are rendered. The handler function takes arguments evt and ui. Use ui.owner to get the reference to the igGridSorting widget. Use ui.owner.grid to get the reference to the igGrid widget. Use ui.modalDialogElement to get a reference to the modal dialog element. This is a jQuery object. | |
ModalDialogContentsRendering | Event fired before the contents of the modal dialog are rendered. The handler function takes arguments evt and ui. Use ui.owner to get the reference to the igGridSorting widget. Use ui.owner.grid to get the reference to the igGrid widget. Use ui.modalDialogElement to get a reference to the modal dialog element. This is a jQuery object. | |
ModalDialogMoving | Event fired every time the modal dialog changes its position. The handler function takes arguments evt and ui. Use ui.owner to get the reference to the igGridSorting widget. Use ui.owner.grid to get the reference to the igGrid widget. Use ui.modalDialogElement to get a reference to the modal dialog element. This is a jQuery object. Use ui.originalPosition to get the original position of the modal dialog div as { top, left } object, relative to the page. Use ui.position to get the current position of the modal dialog div as { top, left } object, relative to the page. | |
ModalDialogOpened | Event fired after the modal dialog is already opened. The handler function takes arguments evt and ui. Use ui.owner to get the reference to the igGridSorting widget. Use ui.owner.grid to get the reference to the igGrid widget. Use ui.modalDialogElement to get a reference to the modal dialog element. This is a jQuery object. | |
ModalDialogOpening | Event fired before the modal dialog is opened. The handler function takes arguments evt and ui. Use ui.owner to get the reference to the igGridSorting widget. Use ui.owner.grid to get the reference to the igGrid widget. Use ui.columnChooserElement to get a reference to the modal dialog element. This is a jQuery object. | |
ModalDialogSortClick | Event fired when column(which is not sorted) is clicked to be sorted in modal dialog. The handler function takes arguments evt and ui. Use ui.owner to get the reference to the igGridSorting widget. Use ui.owner.grid to get the reference to the igGrid widget. Use ui.modalDialogElement to get a reference to the modal dialog element. This is a jQuery object. Use ui.columnKey to get the column key. | |
ModalDialogSortingChanged | Event fired when sorting of column is changed in modal dialog. Column should be sorted. The handler function takes arguments evt and ui. Use ui.owner to get the reference to the igGridSorting widget. Use ui.owner.grid to get the reference to the igGrid widget. Use ui.modalDialogElement to get a reference to the modal dialog element. This is a jQuery object. Use ui.columnKey to get the column key. Use ui.isAsc to get whether column should be ascending or not. If true it should be ascending. |
View on GitHub