Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: "overHeader.isOnLeftEdge is not a function" after calling grid.reconfigure()

    Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #11
    Sencha Premium Member
    Join Date
    Feb 2009
    Posts
    317

    Default

    Quote Originally Posted by odiln View Post
    I had the same issue. Got it fixed by removing resizable: true from the columns config (since it defaults to true).
    That fixes it for me as well, but for some reason our users like to have resizable columns - so that isn't a viable long-term solution.

  2. #12
    Sencha User
    Join Date
    May 2010
    Posts
    3

    Default

    Quote Originally Posted by azuroff View Post
    That fixes it for me as well, but for some reason our users like to have resizable columns - so that isn't a viable long-term solution.
    But after removing this config option columns still remain resizable, since this "resizable" config option defaults to true. Or am I missing something?

  3. #13
    Sencha Premium Member
    Join Date
    Feb 2009
    Posts
    317

    Default

    Quote Originally Posted by odiln View Post
    But after removing this config option columns still remain resizable, since this "resizable" config option defaults to true. Or am I missing something?
    I thought I had tried that when troubleshooting this problem earlier, but apparently not, because removing it from the column config does indeed work as I need it to.

  4. #14
    Sencha User
    Join Date
    May 2010
    Posts
    3

    Default

    IMHO this issue is caused by confusion between "resizable" config of the Ext.grid.column.Column and its ancestor in second grade: Ext.container.Container.

    This is what API docs say about resizable config for Ext.container.Container:
    Specify as true to apply a Resizer to this Component after rendering.
    And it seems that when we explicitly say for the column {resizable: true}, it gets part of behavior of resizable Container (you can notice blue draggable borders appearing on the column header when you mouse over it and subject exception is thrown).
    Dear Ext Dev team - could you confirm that issue is indeed there?

  5. #15
    Sencha User makana's Avatar
    Join Date
    Apr 2008
    Location
    Dresden, Germany
    Posts
    527

    Default

    Problem is still available.

    Ext.grid.column.Column needs an empty initResizable method:
    Code:
    Ext.grid.column.Column.override({
        initResizable: Ext.emptyFn
    });
    It works for me.

    cheers,
    makana
    Programming today is a race between software engineers striving to build bigger and better ?diot-proof programs, and the universe striving to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)

    Enhanced ExtJS adapter for Adobe AIR

  6. #16
    Ext JS Premium Member
    Join Date
    Aug 2011
    Posts
    19

    Default

    "Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build. "

    How do I find out what build this is fixed in? I'm running 4.0.7 and I'm running into this bug.

  7. #17
    Ext JS Premium Member
    Join Date
    Aug 2011
    Posts
    19

    Default

    Bump.

    Can anyone confirm that this was fixed and in what version?

  8. #18
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    1

    Default

    Hi

    In my column configs i have specefied the id's to the columns after removing the id's from the columns this error is got resolved.


    Thanks
    Rahul Tokase

Page 2 of 2 FirstFirst 12

Similar Threads

  1. GridPanel save collapsed state [Calling "overriden" function]
    By pAq85 in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 15 Dec 2010, 4:55 AM
  2. Help me How to add "Edit" and "Delete" function with this set of codes.
    By martinrey in forum Ext Designer: Help & Discussion
    Replies: 3
    Last Post: 12 Oct 2010, 7:45 PM
  3. Replies: 6
    Last Post: 21 Apr 2010, 10:06 AM
  4. [RESOLVED][2.2.1] Calling defined function throws a "is not a function" error
    By sam_mooball in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 19 Apr 2009, 11:08 PM
  5. Replies: 8
    Last Post: 25 Sep 2008, 3:40 AM

Posting Permissions

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