Results 1 to 2 of 2

Thread: newbie question about cls and style configs property of Ext.Panel

  1. #1
    Sencha User
    Join Date
    Jul 2010
    Vote Rating

    Default newbie question about cls and style configs property of Ext.Panel


    I have a Ext.Panel with a cls configs property that I set with a value (a class that set a css z-index style)

    Nevertheless inspecting firebug I cannot find the cls or style configs property neither the class or the style applied to the Panel neither a method that returns the class or style of the Ext.Panel.

    Could you tell me how I can inspect the class or style property in firebug

    The aim is to inspect the z-index style property of the Panel

    Another question: normally cls and style are configs property that are set when building Ext.Panel. The question is : can we consider configs properties as properties ? I wonder this because when inspecting properties of Ext.Panel, I can see that they are displayed as properties

    Thanks a lot for your answers

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    You need to find the top level element for the component. The cls will add the CSS class name and the style will add inline styles.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    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.

Posting Permissions

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