im trying to achieve that the dropdown filter list in my grid takes the size from it's biggest option.
I found other explanations for different situations and none of those worked for me.
I have a MVC Grid with a ForeignKey Column, that is filtered with a dropdown of enum values.
x.ForeignKey(b => b.Status, Model.OrderGapStatus).Filterable(f => f.Cell(c => c.Template("statusFilter"))).Title(Localizer.Lang_Status).ClientTemplate("#: StatusName #");
And a js handler trying to set the width to "auto". But it doesn't work :/
Help would be really appreciated 😃
Have a good day & happy coding