Completed
Last Updated: 05 Mar 2020 15:16 by ADMIN
Imported User
Created on: 23 Sep 2014 16:42
Category: Grid
Type: Feature Request
14
Dynamically add new column to grid
Many of us are wondering (http://www.telerik.com/forums/dynamically-add-new-column) how to add new column to grid.

I imagine it to work as column picker in TeamPulse (http://demos.telerik.com/teampulse-demo/view#backlog)

For now we have two options:
-destroy old grid and create new, but this way we must take care of bindings, event handling by ourselves.
-hide unwanted columns at start and then show them when needed, but this way DOM will have unused elements.

Ideally grid would reconfigure and add DOM for new column.

Ext.JS has this build in (http://jsfiddle.net/marcusschiesser/GvGCX/)
6 comments
ADMIN
Angel Petrov
Posted on: 05 Mar 2020 15:16

Hello,

This feature is available using the setOptions method. Passing the desired columns will force the grid to re-create thus applying the changes. Here is a dojo sample.

Regards,
Angel Petrov
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.
Gopi
Posted on: 09 Feb 2017 00:27
I'ld also like this feature added as part of kendo ui grid.
Damian
Posted on: 18 Jan 2017 11:47
Not sure whether this would work for everyone, I managed to achieve this functionality using  dynamic/expando objects with autogenerated columns enabled.
Imported User
Posted on: 26 Jun 2015 11:11
Almost a year and only one comment on this.
No body want's this feature?
Imported User
Posted on: 08 Jan 2015 13:46
This is a must have feature!
Imported User
Posted on: 30 Dec 2014 20:27
Please add this feature!
Because of changes in Sencha policy many developers will search for ExtJS alternative, Kendo is top competent and this feature will bring even more customers!