dojo - 第 1 页上的复选框 "ticked"反射(reflect)在 EnhancedGrid 的第 2 页中

标签 dojo dojox.grid.datagrid

我有一个 enhancedgrid 并在两个页面上使用。当在 page1 上选中复选框(数据增强网格的组件)时,pg 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。任何帮助将不胜感激。

最佳答案

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

关于dojo - 第 1 页上的复选框 "ticked"反射(reflect)在 EnhancedGrid 的第 2 页中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12954001/

相关文章:

javascript - 单击 dojo 网格标题的日期排序

javascript - DOJO 错误 ID 已注册

dojox.grid.datagrid - DOJO 网格中行的行跨度(不适用于标题)...

javascript - amcharts 无法在 div 中加载,除非固定大小,但轴标签关闭

javascript - 如何设置Dojo按钮全宽

dojo - dijit.form.DateTextBox - 在日历弹出窗口上设置类?

javascript - Dojo Toolkit store.在 TextBox 内获取值

javascript - Dojo 编辑器中的 Css

javascript - 道场店概念

javascript - 如何使用行索引而不是使用选择来删除dojo增强网格中的行