Hybrid View

    You found a bug! We've classified it as EXTJS-5605 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  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!!!!

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Vote Rating
    847
    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 @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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
    55
    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
    162
    Vote Rating
    19
    dougbieber will become famous soon enough

      0  

    Default Should this still be open?

    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?