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
    47
    Vote Rating
    3
    ragzovskii is on a distinguished road

      0  

    Default getNodeContainerSelector() bug

    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
    5,446
    Vote Rating
    112
    Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice

      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
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com

  3. #3
    Sencha Premium Member ragzovskii's Avatar
    Join Date
    Sep 2012
    Location
    Krasnoyarsk, Russia
    Posts
    47
    Vote Rating
    3
    ragzovskii is on a distinguished road

      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
    5,446
    Vote Rating
    112
    Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice

      0  

    Default


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

Thread Participants: 1

Tags for this Thread