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

Thread: [6.6.0 Classic] down ( [selector] ) method doesn't work?

    You found a bug! We've classified it as EXTJS-27330 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #11
    Sencha Premium Member
    Join Date
    Dec 2013
    Posts
    34

    Default

    The error is because SpriteLegend is not a component class and isXType is a function of Ext.Component. SpriteLegend inherits Ext.Base and is not a component and so does not need to queried by Component queries. As such, in the short term, we have gone with the following, which also works nicely as you do no need to change the legend type and you can keep the change to 1 place.

    Code:
    Ext.define(null, {
    
        override: 'Ext.chart.legend.SpriteLegend',
    
    
        isXType: function () {
    
            return false;
        }
    });

  2. #12
    Sencha User
    Join Date
    Oct 2015
    Posts
    52

    Default

    Quote Originally Posted by TABob View Post
    The error is because SpriteLegend is not a component class and isXType is a function of Ext.Component. SpriteLegend inherits Ext.Base and is not a component and so does not need to queried by Component queries. As such, in the short term, we have gone with the following, which also works nicely as you do no need to change the legend type and you can keep the change to 1 place.

    Code:
    Ext.define(null, {
    
        override: 'Ext.chart.legend.SpriteLegend',
    
    
        isXType: function () {
    
            return false;
        }
    });
    doesn't fixed the issue,still got same error when build the grid

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Spinner field in CLASSIC toolkit doesn't work
    By alejandro224 in forum Ext JS 6.x Q&A
    Replies: 8
    Last Post: 2 Dec 2016, 7:12 AM
  2. [OPEN] startEdit method doesn't work in IE
    By zeljic in forum Ext 5: Bugs
    Replies: 2
    Last Post: 9 Oct 2014, 7:18 AM
  3. [CLOSED] != Selector (not equals) doesn't work
    By stevanicus in forum Ext:Bugs
    Replies: 7
    Last Post: 15 Nov 2012, 12:28 PM
  4. Replies: 2
    Last Post: 19 Sep 2011, 9:55 AM
  5. Ajax method doesn't work !
    By Severance in forum Sencha Touch 1.x: Discussion
    Replies: 6
    Last Post: 5 Sep 2010, 10:37 PM

Posting Permissions

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