Completed
Last Updated: 06 Feb 2020 15:30 by ADMIN
Release 2018.R3
Joey
Created on: 16 Feb 2017 09:45
Category: Grid
Type: Feature Request
83
Change width of Kendo Grid
It should be possible to change the width of a grid after it created.
http://www.telerik.com/forums/change-column-widths-after-grid-created
13 comments
ADMIN
Alex Hajigeorgieva
Posted on: 06 Feb 2020 15:28

Hello,  William,

The columns.width property allows us to set the width of columns initially:

https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/columns.width

This feature request was for the ability to change the width of columns after initialization and was completed in 2018 R3 when the resizeColumn() method was implemented:

https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/methods/resizecolumn

In case the columns in the application you are working on do not obey their widths, then most likely there is a lot of space for them and the browser stretches them. Take a look at the article for columns width as there are differences for scrollable and non-scrollable grids.

https://docs.telerik.com/kendo-ui/controls/data-management/grid/columns/widths

In case you have questions for a particular scenario, you may get in touch via the support system or forums and we would be glad to take a look.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
William
Posted on: 30 Jan 2020 18:12
how is this STILL not a feature in 2020??? uggg, just spent two hours trying to figure out why setting the .width property wasn't working in jscript to find out it doesnt work???
Balram
Posted on: 03 Jan 2019 08:37
I wonder why it is not yet implemented
Sergey
Posted on: 24 Sep 2018 09:54
Why you forget TreeList? This feature need for both
ADMIN
Carl
Posted on: 13 Sep 2018 17:37
With the R3 2018 release we introduced the ability to call the Grid API to update the width of a particular column. From the feedback that we see in this thread, as well as feedback that we received in tickets the basic functionality needed is to be able to update the width of individual columns rather than the Grid as a whole.

To see this in action we added the functionality to our API demo (https://demos.telerik.com/kendo-ui/grid/api). This will also link to more in-depth API references.
allan
Posted on: 17 May 2018 20:50
Another vote.  Please consider this change.
Imported User
Posted on: 30 Mar 2018 15:04
looking forward for this feature as it will help with saved grid preferences and per user UI customization
Christine
Posted on: 16 Mar 2018 21:42
Another vote for this feature, please.
Jay
Posted on: 21 Feb 2018 17:44
This is the feature that I need right now.  
Imported User
Posted on: 17 Dec 2017 20:17
this would be a helpful feature
Imported User
Posted on: 11 Dec 2017 15:19
i'd like to have this feature
esteban
Posted on: 03 Nov 2017 16:03
Would love this feature!
Imported User
Posted on: 24 Oct 2017 10:17
Would love this feature!