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
    Cyberluke is an unknown quantity at this point

      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
    38,962
    Vote Rating
    1187
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member
    Join Date
    Jul 2013
    Location
    Atlanta
    Posts
    60
    Vote Rating
    3
    ventryj is on a distinguished road

      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
    220
    Vote Rating
    84
    dougbieber is just really nice dougbieber is just really nice dougbieber is just really nice dougbieber is just really nice

      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
    BastienArtero is on a distinguished road

      0  

    Default

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