第1页上的“勾选”复选框反映在EnhancedGrid的第2页中

时间:2012-10-18 11:54:06

标签: dojo dojox.grid.datagrid

我有一个增强的网格,并在两个页面上使用。当在第1页上选中复选框(数据增强网格的组件)时,将勾选第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"
                   }

              }

我在dojo框架中使用EnhancedDataGrid。任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:1)

从一个页面移动到下一个页面时尝试“grid.selection.deselectAll()”。