Edit this page

Cannot Preserve the Popup Template When Using the Grid setOptions Method in AngularJS

Environment

Product Progress Kendo UI Grid
Operating System Windows 10 64bit
Browser Google Chrome
Browser Version 56.0.2924.87 (64-bit)

Description

How can I preserve the popup template of the Grid when I use setOptions to change its options?

Solution

Pass the AngularJS scope to the Grid options. By default, the Grid when initialized expects such logic.

$scope.grid.setOptions($.extend({}, options, {
                        $angular: [$scope]
                    }));
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy