2008-12-18 5 views

Répondre

0

Si vous créez votre grille programatically vous pouvez effectuer les opérations suivantes:

var grid = new dojox.grid.DataGrid({ 
       ..., 
       canSort: function(col) { return col != 3; } 
      }); 
0

Utiliser l'attribut canSort : false pour cacher ou bouton de tri désactiver dans Dojo DataGrid code:

var newGrid = new DataGrid({ 

     id : 'newGrid', 

     canSort:false, 

     store : this.resultStore, 

     structure : this.resultGridLayout, 

     autoHeight:true 
}); 

Cordialement,

Satish M Hiremath

Questions connexes