3.2.0

Is it possible to turn off sorting?

I am using a grid as an input for adding products to an invoice, and they don't need to sort any columns in order to control it. Is it possible to disable the ability to sort a column by clicking on it?
John Mason
November 30,
Yes, you can cancel the default click event handler, which triggers sort -

obj.onHeaderClicked = function(){
    return true; // cancel event
}

Alex (ActiveWidgets)
November 30,

This topic is archived.

See also:


Back to support forum