Results 1 to 5 of 5

Thread: headerCt and getHeaderCt() missing in documentation!!!!

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-5605 in 5.1.1.451.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    5
    Vote Rating
    0
      0  

    Default headerCt and getHeaderCt() missing in documentation!!!!

    Hi!

    Code:
    var cmlen = grid.getView().getHeaderCt().getColumnCount();
                    for (i = 0; i < cmlen; i++) {
                        var col = column = grid.getView().getHeaderCt().items.getAt(i);
    }
    I'm rewritting GridPanel plugin from ExtJs 3 to ExtJs 4.

    WHY THE HELL THERE IS NO DOCUMENTATION FOR THIS??????????????????

    no property headerCt, no method getHeaderCt():

    http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.View
    http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.Panel
    http://docs.sencha.com/ext-js/4-0/#!/api/Ext.view.View

    I'm totally angry right now. We have bought commercial license, I read have read all the migration posts about getHeaderCt(), but I can't find it in doc.

    Please respond as soon as possible.

    Thanks!

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    Please remain professional. Documentation is always going to be a work in progress, things will be missed. Good thing is documentation is easy to fix.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha Premium Member
    Join Date
    Jul 2013
    Location
    Atlanta
    Posts
    60
    Vote Rating
    3
      0  

    Default

    I have run into this problem as well, not being able to find this in documentation.

  4. #4
    Ext JS Premium Member
    Join Date
    Sep 2009
    Location
    Cypress, California
    Posts
    238
    Vote Rating
    102
      0  

    Default Should this still be open?

    If documentation is so easy to fix then why is this still an open issue in 4.2.2 over 1 1/2 years later. I know I have "grid.getView().getHeaderCt()" peppered throughout my code, probably based on an example in this forum. I also can't find "getView()".

    What is the proper way to achieve this in 4.2.2?

  5. #5
    Sencha User
    Join Date
    Nov 2014
    Location
    France
    Posts
    5
    Vote Rating
    0
      0  

    Default

    I still can't find any documentation about 'headerCt'

Posting Permissions

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