2012-10-24 23 views

回答

1

我不確定9.0.1,但在CF10中嘗試selectRangeselectRecords

var grid = ColdFusion.Grid.getGridObject('myGrid'); 
var model = grid.getSelectionModel(); 

model.selectRange(4, 6, false); 
// ... or 
var records = [grid.store.getAt(10)]; 
model.selectRecords(records , true); 
相關問題