2008-12-18 27 views

回答

0

如果要創建網格編程,你可以做到以下幾點:

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

使用屬性canSort : false隱藏或禁用排序按鈕Dojo DataGrid代碼:

var newGrid = new DataGrid({ 

     id : 'newGrid', 

     canSort:false, 

     store : this.resultStore, 

     structure : this.resultGridLayout, 

     autoHeight:true 
}); 

問候,

薩蒂什中號Hiremath

相關問題