How can I add or remove columns during runtime in an Kendo UI Angular grid?
Right now I call the ngInit after setting the new columns but it seems like not the best option.
Any ideas?
3 Answers, 1 is accepted
0
Konstantin Dikov
Telerik team
answered on 06 Jul 2017, 08:28 AM
Hello Aroussos,
If you want to change the columns structure dynamically you need to reinitialize the widget. In the context of AngularJS you could use the k-rebind to re-initialize the widget when the options are changed: