RSS

Set width for options in ExtJs Combo

22 Jul

While creating a new extjs combo with

new Ext.form.ComboBox({
x: 0,
store:………….

If you want to explicitly set the width of the combo drop down to match the width of input box, specify

matchFieldWidth: true,

To explicitly specify the width, use

minListWidth:100  – if you want to set as 100px

 

 

 
3 Comments

Posted by on July 22, 2011 in Ext JS

 

Tags: , , , ,

3 responses to “Set width for options in ExtJs Combo

  1. jitu

    October 20, 2011 at 5:22 am

    Plz Add More Data About Extjs So It is Helpful to us ………………………………………………………………………………………

     
    • Creators

      February 15, 2012 at 1:53 pm

      okay jitu

       
  2. Ufukk

    June 4, 2012 at 8:44 am

    Great tip… thanks..

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: