7 Answers, 1 is accepted
Hello Marc,
I am not sure that I understand correctly, but in general the width of the cells can be set using the columns property of a sheet. Please refer to the Spreadsheet / Custom cell editors demo.
Regards,Boyan Dimitrov
Telerik by Progress
Hi Boyan,
I have a number of cells with validation on (range.validation({ 'list', 'of', 'values' });
When the user clicks the down arrow button for the cell, they see the possible list of values, however, I'd like to increase the width of this popup list.
I have attached a screenshot where you can see some of the items in the list have wrapped the text, and spanned over 3 lines.
Thanks
Marc
Hello Marc,
Thank you for the provided image.
The easiest way to achieve such behavior is simply to change the width of the popup container. Please refer to the http://dojo.telerik.com/EdiRU example. As far as I see all custom editors are lists and probably the ultimate goal is to increase the width of all list containers.
Regards,Boyan Dimitrov
Telerik by Progress
Hi Boyan
That is perfect, thank you!
Marc
Hi Boyan, Is there a way to differentiate between the lists used for spreadsheet validations, and the lists used for comboboxes/menus etc. I have increased the width, as you suggested, but now my dropdowns and menu widths have also changed.
Thanks
Marc
Hello Marc,
I am afraid that there are no specific classes applied to the popup element in order to differentiate between menu or drop down list.
Regards,Boyan Dimitrov
Telerik by Progress
Hi Boyan!
Thanks - it might be worth for a future release to possibly include a way to differentiate. I changed the container width to 250px, and it changed the dropdown width in the spread, the menu item width in the menu, and the dropdown list (kendo combobox & multiselect widths). I can see a case where someone (including me) would want to change one or more of those widths, but not all of them.
Thanks for your help with this issue.
Marc