This is a migrated thread and some comments may be shown as answers.

DropDownList group name covering the option label

3 Answers 407 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Tiho
Top achievements
Rank 1
Tiho asked on 04 Aug 2016, 07:28 PM

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

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Krustev
Telerik team
answered on 08 Aug 2016, 09:18 AM
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.
 
0
Tiho
Top achievements
Rank 1
answered on 22 Aug 2016, 04:57 PM

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. 

0
Tiho
Top achievements
Rank 1
answered on 22 Aug 2016, 04:58 PM

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. 

Tags
DropDownList
Asked by
Tiho
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Tiho
Top achievements
Rank 1
Share this question
or