Hello Daniel,
If I understand you correctly, you wish to achieve one of the following:
a) make the filtering textbox as wide as the widest cell value in the respective column
b) make the filtering textbox be as wide as its current content
For (b), I am afraid there is no automatic way to do that.
For (a), use one of the following techniques:
1) auto fit the column, so that it expands, according to its widest value
http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#methods-autoFitColumn
2) disable Grid scrolling and text wrapping to make columns expand, according to their content
http://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/Layout/auto-layout-grid
Regards,
Dimo
Telerik by Progress
If I understand you correctly, you wish to achieve one of the following:
a) make the filtering textbox as wide as the widest cell value in the respective column
b) make the filtering textbox be as wide as its current content
For (b), I am afraid there is no automatic way to do that.
For (a), use one of the following techniques:
1) auto fit the column, so that it expands, according to its widest value
http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#methods-autoFitColumn
2) disable Grid scrolling and text wrapping to make columns expand, according to their content
http://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/Layout/auto-layout-grid
.k-grid td
{
white-space
:
nowrap
;
}
Regards,
Dimo
Telerik by Progress
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!