[CLOSED] How to use CSS

  1. #1

    [CLOSED] How to use CSS

    Hi,
    Can you show me how to use CSS in Ext.net control?
    Thanks.
    Last edited by Daniil; Apr 09, 2012 at 7:23 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Many things are possible setting up a custom CSS class for a control using its Cls property:
    http://docs.sencha.com/ext-js/3-4/#!/api/Ext.Component-cfg-cls

    Also there are the StyleSpec, BodyStyle, BodyCssClass properties which may be helpful. The last two are defined in Panel.

    Here is the example of applying custom CSS for a GridPanel.
    https://examples1.ext.net/#/GridPanel/Miscellaneous/Custom_UI/

Posting Permissions