Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-8222 in 4.2.0.489.
  1. #1
    Sencha User Stormseeker's Avatar
    Join Date
    Jan 2010
    Location
    Evanston, Illinois
    Posts
    55
    Vote Rating
    1
    Stormseeker is on a distinguished road

      0  

    Default GridView markDirty Config no longer works.

    GridView markDirty Config no longer works.


    It appears that the following markDirty configuration doesn't do anything anymore in V4.2 Beta2:

    Code:
    Ext.define('QLP.view.permission.ActionGrid', {
        extend    : 'Ext.grid.Panel',
    
        title        : 'Assigned Actions',
        viewConfig    : {
            markDirty    : false
        }
       ...
    });
    I believe the code to control this existed in V4.1.1 in the Ext.grid.header.Container class. The prepareData() method in that class is totally removed in V4.2 Beta.
    Code:
        /**
         * Maps the record data to base it on the header id's.
         * This correlates to the markup/template generated by
         * TableChunker.
         */
        prepareData: function(data, rowIdx, record, view, panel) {
        ...
                if (me.markDirty) {
                    obj[headerId + '-modified'] = record.isModified(header.dataIndex) ? Ext.baseCSSPrefix + 'grid-dirty-cell' : '';
                }
        ...

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,004
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report, this has been fixed for the next release.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1