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/)
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
I'ld also like this feature added as part of kendo ui grid.
Not sure whether this would work for everyone, I managed to achieve this functionality using dynamic/expando objects with autogenerated columns enabled.
Almost a year and only one comment on this. No body want's this feature?
This is a must have feature!
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!