DOJO DataGrid sort only some columns


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  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. }

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.