Version

GridSortingClientEvents Class Members

The following tables list the members exposed by GridSortingClientEvents.

Public Fields
 NameDescription
Public FieldColumnSortedEvent 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.  
Public FieldColumnSortingEvent 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.  
Public FieldModalDialogButtonApplyClickEvent 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.  
Public FieldModalDialogButtonResetClickEvent 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.  
Public FieldModalDialogButtonUnsortClickEvent 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.  
Public FieldModalDialogClosedEvent 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.  
Public FieldModalDialogClosingEvent 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.  
Public FieldModalDialogContentsRenderedEvent 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.  
Public FieldModalDialogContentsRenderingEvent 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.  
Public FieldModalDialogMovingEvent 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.  
Public FieldModalDialogOpenedEvent 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.  
Public FieldModalDialogOpeningEvent 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.  
Public FieldModalDialogSortClickEvent 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.  
Public FieldModalDialogSortingChangedEvent 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.  
See Also

View on GitHub