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

Custom editor maximum width in grid

1 Answer 128 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alexandra
Top achievements
Rank 1
Alexandra asked on 28 Jan 2017, 02:33 PM

Hi everybody,

I'm using a kendo dropdown list as a custom editor in grid. I wonder, is there an easy way to make the width of dropdownlist bigger then the size of the cell? I display short codes in a grid, but I have to display long names in edit mode in dropdown list. I thought about something like openning  it in front of the grid, covering the whole grid not only the container cell. But I was unable to find an example.

 

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 01 Feb 2017, 07:03 AM
Hello Alexandra,

The Grid does not allow its cell content to overflow, but the list of DropDownList items can be made wider. Please check the following example:

http://docs.telerik.com/kendo-ui/controls/editors/dropdownlist/how-to/auto-adjust-the-width

An alternative option is to use popup editing, where you will have the opportunity to use larger editor dimensions or even a custom layout via template.

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-editable.mode

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-editable.template

Regards,
Dimo
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Alexandra
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or