Results 1 to 4 of 4

Thread: getNodeContainerSelector() bug

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium Member ragzovskii's Avatar
    Join Date
    Sep 2012
    Location
    Krasnoyarsk, Russia
    Posts
    169
    Vote Rating
    13
      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
    9,519
    Vote Rating
    256
      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
    169
    Vote Rating
    13
      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
    9,519
    Vote Rating
    256
      0  

    Default

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

Tags for this Thread

Posting Permissions

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