I am just started with kendo UI grids, And I could able to make out how to integrate the kendo with angularJS
Ex: JSFIDDLE
But I was trying to implement some thing like dynamically adding/selecting or unselecting the column names, then the data grid should display the columns accordingly in the data table.
Now when I selecting a new column in the right side of the grid, The datatable is updated with that selected column
Hope this image gives a clear idea on what I am pointing
So, I want to achieve this kind of dynamic data grid,
Even Though I make
columns: [
{ field: "lastName", title: "Last Name" },
{ field: "firstName", title: "First Name" },
{ field: "company", title: "Company"},
{ field: "title", title: "Title" },
{ field: "email", title: "Email" },
{ field: "phone", title: "Phone" }
],
and dataSource Dynamic it is not working.
NOTE: Please Consider the columns names are fetched from API, so I need to implement dynamically based on API