DropDownList group name covering the option label

4 posts, 1 answers
  1. Tiho
    Tiho avatar
    5 posts
    Member since:
    Apr 2013

    Posted 04 Aug Link to this post

    Given that I'm grouping the options by a property like "Country"

    When the widget is rendered too narrow

    And/or the group label is too wide

    Then the option label is eclipsed by the group name.

     

    Example: http://dojo.telerik.com/AsENi

     

  2. Answer
    Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 08 Aug Link to this post

    Hello Tiho,

    I checked the test demo, but I didn't noticed an optionLabel configuration in it. Once it is enabled, the optionLabel is rendered above the fixed group header and displayed normally: If you would like to disable the fixedGroupHeader, then you can do so setting the fixedGroupHeader option to empty string ("").

    If you are referring to the case when the group header has covered the text of the regular list item, then this behavior is expected and is due the specific group rendering. If you would like to avoid the overlaying scenario, then I would suggest you manually set the width of the popup element:
    Regards,
    Georgi Krustev
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
  4. Tiho
    Tiho avatar
    5 posts
    Member since:
    Apr 2013

    Posted 22 Aug Link to this post

    Thank you for your response.

    I was hoping that there was some way to cancel the "float: right"on the group header if listWidth > groupHeaderWidth.

    Thank you for your suggestion, I'll increase the element width manually. 

  5. Tiho
    Tiho avatar
    5 posts
    Member since:
    Apr 2013

    Posted 22 Aug in reply to Georgi Krustev Link to this post

    Thank you for your response.

    I was hoping that there was some way to cancel the "float: right"on the group header if listWidth > groupHeaderWidth.

    Thank you for your suggestion, I'll increase the element width manually. 

Back to Top
Kendo UI is VS 2017 Ready