New to KendoReact? Start a free 30-day trial
Add New Columns to the Grid
Environment
Product Version | 4.5.0 |
Product | Progress® KendoReact Grid |
Description
How can I dynamically add new columns to the grid?
Solution
This can be achieved with logic similar to the one in this demo
of our documentation which showcases how to dynamically add new records (rows).
The idea here is to have a button that opens up a Form, which when submitted updates the database that contains all records and adds a new element to all objects in the data. The columns should be rendered dynamically by mapping through the database, which will allow the Grid to visualize any changes made in the database.
Change Theme
Theme
Loading ...