Posted By

simondiercks on 11/04/10


Tagged

sort DataGrid Dojo canSort


Versions (?)

DOJO DataGrid sort only some columns


 / Published in: JavaScript
 

URL: http://o.dojotoolkit.org/forum/dojox-dojox/dojox-support/grid-sort-only-some-cells

  1. grid.canSort = function(index) { //index is 1-based
  2. if(Math.abs(index) == 2 || Math.abs(index) == 4) return true;
  3. return false;
  4. }

Report this snippet  

You need to login to post a comment.