JavaScript API Reference/Ab.grid.ReportGrid object

removeSorting()

Remove the sorting links on the column headers when the sorting functionality is nor desired, or when a ReportGrid is built from client-constructed data and sorting is not possible.

Parameters: none

Example:

Remove the sorting functionality because it is not desired:

var grid = new Ab.grid.ReportGrid ('rm_div', config);
grid.build();
grid.removeSorting ();