3
我有一個enhancedgrid並在兩頁上使用。當在頁面1上選中複選框(數據增強型網格的組件)時,將會勾選第2頁上的等效行。我enhancedgrid代碼是第1頁上的「打勾」複選框顯示在EnhancedGrid的第2頁中
grid = new dojox.grid.EnhancedGrid({
loadingMessage:"Please wait",
store:newStore,
structure:layoutQL,
autoWidth:false,
autoHeight:true,
columnReordering:false,
rowsPerPage:3,
indirectSelection: true,
//noDataMessage:"No transactions have been processed for posting.",
//selectionMode:'single',
plugins: {
pagination: {
description: true,
sizeSwitch: false,
pageStepper: true,
gotoButton: true,
/*page step to be displayed*/
maxPageStep: 6,
/*position of the pagination bar*/
position: "bottom",
indirectSelection: true
},
filter : {
// Show the closeFilterbarButton at the filter bar
closeFilterbarButton: true,
// Set the maximum rule count to 5
ruleCount: 5,
// Set the name of the items
itemsName: "records"
}
}
我使用EnhancedDataGrid在道場框架。任何幫助將不勝感激。