Example - External Header Sorting

Demonstrates:

  • external column sort initialisation

- uses the options hook of passing a function (rather than true/false/undefined) as the enableColumnReorder option. This function will be used to set up the column reordering.

- the function prototype is: function(grid, headers, headerColumnWidthDiff, setColumns, setupColumnResize, columns, getColumnIndex, uid, trigger)