Login Register

Disable Sorting on specific column.

Hi All,
I would like to disable sorting on a specific column. Could someone shed come light on how this can be achieved?

Regards,
Yazad K

Probably something like

Probably something like this:

After your grid is created, and preferably in your dojo.addOnLoad referenced function, e.g., init:

dojo.byId('myGridId').canSort = function(col){if(Math.abs(col) == 3) {return false;} else {return true;}};

Not tested.

Thank you very much

Thank you very much Frank....

Regards,
Yazad Khambata