Is there a way to manually change the width of a column client side? I am setting the width property to something and its registering but it does not display the new width until I do a hide/show column or another grid action. Is there a way to manually trigger this column size refresh?
1 Answer, 1 is accepted
answered on 05 Dec 2013, 11:08 AM
There is no built in way to achieve this, but a sample approach that you could use would be to get the colgroup elements in the grid wrapper and the col element with the specified index and set their widths. Here is a JS Bin example, which demonstrates this. It shows how to set the width of the first column to the value of the input field.
I hope this information helps. I wish you a great day!
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!