Changing width of drop down in editable grid (and not the width of the displayed grid)

1 Answer 56 Views
DropDownList Grid
Eric
Top achievements
Rank 2
Iron
Iron
Eric asked on 31 Mar 2023, 01:11 PM

I have a grid that is inline editable

My problem is when the drop down appears it looks like this

Some of the items wrap around to two rows.  I would like the drop down to expand to fit the width of the text.

I looked in Chrome and I see the item is in an unnamed div that starts with this

<div class="k-animation-container"

I have tried the following in my .css to override the width of the container

.k-animation-container {
	width: auto;
}

and that doesn't seem to have any effect.

Is there a way to change the width of the drop down when it appears without changing the width of the containing column in the grid?

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Eric
Top achievements
Rank 2
Iron
Iron
answered on 31 Mar 2023, 05:25 PM
Tags
DropDownList Grid
Asked by
Eric
Top achievements
Rank 2
Iron
Iron
Answers by
Eric
Top achievements
Rank 2
Iron
Iron
Share this question
or