Dynamic GRID columns

1 Answer 903 Views
Grid
kunhamad
Top achievements
Rank 1
kunhamad asked on 22 Jun 2022, 01:16 PM | edited on 22 Jun 2022, 01:26 PM

I have a requirement to add dynamic KendReact grid column  from a json file in an existing grid of one default column, say - ItemCode , on load the the grid should fill the below columns from json.

 

eg: - >

[
  {
    "wbsname": "A1",
  },
  {
    "wbsname": "A2",
  },
  {
    "wbsname": "A3",
  },
  {
    "wbsname": "A4",
  },
  {
    "wbsname": "A5",
  }
]

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 24 Jun 2022, 07:14 AM

Hi Kunhamad,

You can refer to the following example demonstrating how you can mix initially set columns with dynamically added ones:

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
kunhamad
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or