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

Easily reset grid column widths?

1 Answer 254 Views
Grid
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 14 Oct 2015, 03:30 PM

I'm wondering if there is an easy way to reset all the grid columns widths to what it looks like when the page first loads? Allowing resizing can create a grid that is too big or unwieldy so I want a button to easily snap everything back to it's original width.

 

Any thoughts on how to accomplish this?

 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 16 Oct 2015, 08:00 AM

Hello James,

 

There is the setOptions method that you can use for exactly this functionality:

 

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#methods-setOptions

 

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
James
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or