ghum

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • in reply to: overwriting sortData #91509
    ghum
    Participant

    ….sorry, wanted to “replay” and not “report”….

    I think using onSortCol is a really good idea, the fitting patch would be:

    if($.isFunction(ts.p.onSortCol)) {if (ts.p.onSortCol.call(ts,index,idxcol,so)=='stop') {return;}}

    I recommend using “stop” as communication value instead of 0,1 or true or false, as the effect on existing usages would be minimal.

    best wishes,

    Harald

    ghum
    Participant

    >If you use 3.5 version this is not needed. When the width of some column is changed it is automatically updated in >colModel. So in this case you just needs getGridParam.

    Thanks for this information!

Viewing 2 replies - 1 through 2 (of 2 total)

Stay connected with us in your favorite flavor!