1. #1
    Sencha User Mycoding's Avatar
    Join Date
    May 2010
    Location
    Russia, Volgograd
    Posts
    460
    Vote Rating
    0
    Mycoding is on a distinguished road

      0  

    Default Unanswered: Ext Core Ext.select getHeight

    Unanswered: Ext Core Ext.select getHeight


    I need to get height over Ext.select, but fails.
    Please give me some advice how to do it easier.

    At the moment I think to do it over this. But it is not cute way.
    Code:
    Ext.select('#'+Ext.dd.ddEL+' div.x-window-body').elements[0].attributes[0].nodeValue

  2. #2
    Ext JS Premium Member dj's Avatar
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    573
    Vote Rating
    2
    Answers
    1
    dj has a spectacular aura about dj has a spectacular aura about dj has a spectacular aura about

      0  

    Default


    How about
    Code:
    Ext.select('#'+Ext.dd.ddEL+' div.x-window-body').first().getHeight();
    see: http://dev.sencha.com/deploy/ext-4.0...ementLite.html (#first method)
    and http://dev.sencha.com/deploy/ext-4.0...e.Element.html (#getHeight method)
    Daniel Jagszent
    dɐɳiel@ʝɐgszeɳt.de <- convert to plain ASCII to get my email address

Similar Threads

  1. [2.x/3.x] getHeight and getWidth on Ext.getBody
    By Animal in forum Ext 2.x: Bugs
    Replies: 4
    Last Post: 22 Sep 2010, 6:53 AM
  2. Multie-select listbox core component?
    By PCSpectra in forum Community Discussion
    Replies: 0
    Last Post: 22 Apr 2010, 6:30 AM
  3. Firebug: c.getHeight is not a function
    By syedarshadali in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 26 Oct 2009, 10:30 PM
  4. window size using getHeight
    By h3ll0w in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 18 Oct 2009, 10:56 PM

Thread Participants: 1