1. #1
    Sencha User
    Join Date
    Nov 2008
    Location
    Tehran, Iran
    Posts
    11
    Vote Rating
    0
    PATMAP is on a distinguished road

      0  

    Default [BUG] Ext-4.2.0.489 Locking Column Row Editing Example

    [BUG] Ext-4.2.0.489 Locking Column Row Editing Example


    Hi,

    There is have an bug in resizing locked column.
    When i resize locked column, in firebug show me an error:

    Tested on FireFox 19.0, IE 10, Google Chrome 25.0.1364.97

    Code:
    TypeError: Ext.util.CSS.getRule(...) is null
    On This Function:

    Code:
    field.editorMargin = p = Ext.Element.parseBox(Ext.util.CSS.getRule('.' + Ext.baseCSSPrefix + 'grid-cell-inner').style.padding);
    LockedColumn.png

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    57
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Have you modified the CSS in any way?

    There is definitely a rule for

    Code:
    .x-grid-cell-inner

  3. #3
    Sencha User
    Join Date
    Nov 2008
    Location
    Tehran, Iran
    Posts
    11
    Vote Rating
    0
    PATMAP is on a distinguished road

      0  

    Default


    Quote Originally Posted by Animal View Post
    Have you modified the CSS in any way?

    There is definitely a rule for

    Code:
    .x-grid-cell-inner
    Hi, Animal

    No, I did not change anything, i run orginan sample of this version.
    It seem this function cannot find this class.


    Regards

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    57
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    It does work.


  5. #5
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,054
    Vote Rating
    659
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    The code for this has been modified for the next release so it doesn't rely on reading the css rules.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  6. #6
    Sencha User
    Join Date
    Nov 2008
    Location
    Tehran, Iran
    Posts
    11
    Vote Rating
    0
    PATMAP is on a distinguished road

      0  

    Default


    Thank you evant

    Regards

Thread Participants: 2