You found a bug! We've classified it as EXTJS-14012 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member ragzovskii's Avatar
    Join Date
    Sep 2012
    Location
    Krasnoyarsk, Russia
    Posts
    161
    Vote Rating
    13
    ragzovskii will become famous soon enough

      0  

    Default getNodeContainerSelector() bug

    Hello.
    There is a public method http://docs.sencha.com/extjs/4.2.1/#...tainerSelector that return custom css selector for node container. Problem is getNodeContainer() in Ext.view.Table uses private property 'nodeContainerSelector'. I have to override private property in order to make my component work correct.
    Code:
    getNodeContainer: function() {
            return this.el.down(this.nodeContainerSelector, true);
        },

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    8,778
    Vote Rating
    240
    Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of

      0  

    Default

    Not sure I follow. The getNodeContainer() method you displayed is also private. Do you have a test case which displays this issue?
    https://fiddle.sencha.com/#home


    Join me at SenchaCon 2016!

  3. #3
    Sencha Premium Member ragzovskii's Avatar
    Join Date
    Sep 2012
    Location
    Krasnoyarsk, Russia
    Posts
    161
    Vote Rating
    13
    ragzovskii will become famous soon enough

      0  

    Default

    Hello. This is example:
    https://fiddle.sencha.com/#fiddle/729

    Caused by following code:
    Code:
    getNodeContainer: function() {
    
        return this.el.down(this.nodeContainerSelector, true);
    },
    I think public method http://docs.sencha.com/extjs/4.2.1/#...tainerSelector can be easily used here.

  4. #4
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    8,778
    Vote Rating
    240
    Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of

      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

Tags for this Thread