This is a migrated thread and some comments may be shown as answers.
Is there an easier way to make DropDownList wider ?
8 Answers 129 Views
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 18 Apr 2012, 07:19 PM
The fiddle http://jsfiddle.net/RichardAD/VaKsq/ requires two css settings to change the width of a kendo drop down list.  Is there a better way ?

$selector.parent().css('width',MY_WIDTH) and
$selector.parent().next().css({'width':MY_WIDTH,'height':'auto'});

Thanks,
Richard

8 Answers, 1 is accepted

Sort by
0
Accepted
Maxim
Top achievements
Rank 1
answered on 19 Apr 2012, 02:23 PM
Use CSS
.k-dropdown
{
    width: 28em;
}
0
Volkan
Top achievements
Rank 1
answered on 27 Apr 2012, 07:02 PM
It would immensely beneficial if you included basic styling information like this in your documentation. I am happy I was able to find the answer, but I shouldn't need to look beyond the docs to find something like this. Its a waste of time on both parties. Kendo UI support has to waste time answering an easy question and users have to go searching for this type of info. 
0
Maxim
Top achievements
Rank 1
answered on 27 Apr 2012, 07:29 PM
Being devils advocate... I am sure the documentation will improve over time. kendoui team is crating an excellent framework and considering that is less the a year old and free for non commercial use they have done an excellent job. At present I think their primary concern is to iron out as many bugs as possible ;)
0
Volkan
Top achievements
Rank 1
answered on 27 Apr 2012, 09:23 PM
Actually I found the page that outlines this information. I just didn't look hard enough. 
My apologies to the kendo team. 

http://www.kendoui.com/documentation/ui-widgets/appearance-styling.aspx 
0
Travis
Top achievements
Rank 1
answered on 30 Oct 2014, 07:32 PM
Sorry to say, a scant 2.5 years after this thread was active, the link provided by Volkan is now broken; just takes you to http://www.telerik.com/kendo-ui.

It's REALLY frustrating to see all the work that went into answering the question in the first place, now rendered invalid. 

The Kendo Products are mostly great. The Kendo Documentation team needs to take a refresher course on the term 'hyperlink'. The redirect to the homepage not only wastes all of our time, but destroys the google results for the topic, reducing further the visibility of the documentation. Truly unfortunate, and very frustrating for paying customers.
0
Alexander Valchev
Telerik team
answered on 04 Nov 2014, 10:25 AM
Hello Travis,

Please accept my apology for the inconvenience caused. This thread is about 2 years old so the information inside is outdated.
Check this help topic instead:

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Jacques
Top achievements
Rank 1
answered on 22 Jul 2015, 08:36 PM

How does one do that if one is using angular to auto generate a kendo grid with a dropdown in the filterRow?

0
Alexander Valchev
Telerik team
answered on 27 Jul 2015, 03:59 PM
Hi Jacques,

I am afraid that I cannot suggest a build-in solution for this scenario.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Asked by
Richard
Top achievements
Rank 1
Answers by
Maxim
Top achievements
Rank 1
Volkan
Top achievements
Rank 1
Travis
Top achievements
Rank 1
Alexander Valchev
Telerik team
Jacques
Top achievements
Rank 1
Share this question
or