I am using the Angular extensions with the grid.
I have a grid that looks like this:
In another directive I created (not shown in my sample) I generate the options for the grid and put the results in $scope.testGridOptions, ex. schema, columns, sorting/grouping/filtering options/etc. This works well and the grid works as expected. However, I actually need to be able to update the grid (schema, columns, data, etc.) based on different things the user can click on. If it was just a few different grid types I'd probably just hide/show them, but this grid needs to be built dynamically. Unfortunately, if I just update testGridOptions the grid doesn't get updated.
Is there a way to force the grid to reload its settings?
I have a grid that looks like this:
<
div
kendo-grid
k-options
=
"testGridOptions"
k-ng-delay
=
"testGridOptions"
></
div
>
In another directive I created (not shown in my sample) I generate the options for the grid and put the results in $scope.testGridOptions, ex. schema, columns, sorting/grouping/filtering options/etc. This works well and the grid works as expected. However, I actually need to be able to update the grid (schema, columns, data, etc.) based on different things the user can click on. If it was just a few different grid types I'd probably just hide/show them, but this grid needs to be built dynamically. Unfortunately, if I just update testGridOptions the grid doesn't get updated.
Is there a way to force the grid to reload its settings?