Флажок, отмеченный на странице 1, отображается на странице 2 в EnhancedGrid.

У меня есть расширенная сетка и используется на двух страницах. Когда флажок (компонент расширенной сетки данных) установлен на странице 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"
                   }

              }

Я использую EnhancedDataGrid, как в структуре додзё. Любая помощь будет оценена.


person Coding    schedule 18.10.2012    source источник


Ответы (1)


Попробуйте "grid.selection.deselectAll()" при переходе с одной страницы на другую.

person s.burns    schedule 06.05.2013