Is there an easier way to make DropDownList wider ?

9 posts, 1 answers
  1. RichardAD
    RichardAD avatar
    105 posts
    Member since:
    Feb 2012

    Posted 18 Apr 2012 Link to this post

    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
  2. Answer
    Maxim Konstantinovski
    Maxim Konstantinovski avatar
    63 posts
    Member since:
    Mar 2007

    Posted 19 Apr 2012 Link to this post

    Use CSS
    .k-dropdown
    {
        width: 28em;
    }
  3. Kendo UI is VS 2017 Ready
  4. Volkan
    Volkan avatar
    10 posts
    Member since:
    Jul 2011

    Posted 27 Apr 2012 Link to this post

    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. 
  5. Maxim Konstantinovski
    Maxim Konstantinovski avatar
    63 posts
    Member since:
    Mar 2007

    Posted 27 Apr 2012 Link to this post

    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 ;)
  6. Volkan
    Volkan avatar
    10 posts
    Member since:
    Jul 2011

    Posted 27 Apr 2012 Link to this post

    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 
  7. Travis
    Travis avatar
    19 posts
    Member since:
    Jan 2014

    Posted 30 Oct 2014 Link to this post

    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.
  8. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 04 Nov 2014 Link to this post

    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!
     
  9. Jacques
    Jacques avatar
    5 posts
    Member since:
    Jun 2015

    Posted 22 Jul 2015 in reply to Alexander Valchev Link to this post

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

  10. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 27 Jul 2015 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready