Results 1 to 2 of 2

Thread: grid.reconfigure() behavior changed between 6.5.3.57 and 6.7.0.210

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User
    Join Date
    Apr 2011
    Posts
    108

    Default grid.reconfigure() behavior changed between 6.5.3.57 and 6.7.0.210

    Using ExtJS 6.7.0.210
    We have a popup window where you can select data from a grid in the background and then move to another row in the background and select the data from that row and the window will show the data from both rows in order to compare it.

    This works as expected using ExtJS 6.5.3.57. After upgrading to 6.7 the popup window grids refresh with the data for the selected row in the background grid automatically, this should not happen.

    Here is the code that pulls the data into the popup:
    Code:
        
    onGetGrid1SourceData: function(button) {    
            var sourceGrid = this.getViewModel().get('sourceGrid'); - this is the grid in the background.
            var sourceStore = sourceGrid.getStore();
            var columns = sourceGrid.getColumns();
            
            var targetStore = Ext.create('Ext.data.Store', {});
            targetStore.setData(sourceStore.getData());
            
            var clonedColumns = [];
            columns.forEach(function(column) {
                clonedColumns.push(column.cloneConfig());
            });
    
            var targetGrid = button.up('grid');
            targetGrid.setTitle(sourceGrid.getTitle());
            targetGrid.reconfigure(targetStore, clonedColumns);            
        },
    There is a similar function to pull data into the other grid on the popup ('grid2'). This is a very important feature for our clients, if we cannot resolve this we will need to revert to 6.5.3.

  2. #2
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    569

    Default

    Hello Randy,

    Thank you for contacting Sencha Support!
    I request you to provide a fiddle to replicate this issue to assist you in a better way.

    Regards,
    Kumar
    Sencha Support.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •