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

Thread: Hovering over first grid row produces an error with ExtJS 4.2.1.883

    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

    Default

    Quote Originally Posted by Gary Schlosberg View Post
    Sorry to hear you're having trouble with group tabs. Can you describe the problem more specifically? If it's a bug, perhaps someone has already posted a workaround.
    Thanks for the response. I just pointed it out as an example of the same situation. Fixed, but no solution for the non-subscriber releases.

    http://www.sencha.com/forum/showthread.php?265146
    http://www.sencha.com/forum/showthre...n-to-Dashboard

    I've found a different approach to avoid the defect, rather than a work around.
    For this one, I can live with the console noise.

  2. #12
    Ext JS Premium Member
    Join Date
    Aug 2010
    Posts
    66

    Default

    Anyone ever find out how to fix or work around this in 4.2.1? I can live with console noise too, but the first row of a grid doesn't highlight so it really is broken beyond just console noise. I unfortunately don't have the option of upgrading so I'm looking for a 4.2.1 fix/workaround.

  3. #13
    Sencha User
    Join Date
    Dec 2008
    Location
    Sofia
    Posts
    267

    Default

    For what i can remember, this was caused by the grouping feature. Not using it should clear the console.
    It was many months ago, but i can remember i solved it applying the groupping via the store load listener.

  4. #14
    Ext JS Premium Member
    Join Date
    Aug 2010
    Posts
    66

    Default

    You were right, it's due to the grouping (I figured that out pretty quick about 5 minutes after I posted my initial query)... I wound up solving this with an override:

    Code:
    Ext.view.Table.override({
      getRowStyleTableEl: function(item) {
        var me = this;
        if (!item.tagName) {
          item = this.getNode(item);
        }
        //return (me.isGrouping ? Ext.fly(item) : this.el).down('table.x-grid-table');
        return this.el.down('table.x-grid-table');
      }
    });
    All I did was remove the logic from the return, nothing more. This seems to work whether the grid has grouping or not (as well as the other cases I had tests for). Doesn't seem to be any ill effect that I've spotted anywhere.

Page 2 of 2 FirstFirst 12

Posting Permissions

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