Skip to content Skip to sidebar Skip to footer

Can I Use Entered Value Through Ng-model To Populate Angular Ng Grid?

This plunker populates a static Html Table correctly based on a search for 'Tim' (Json Data). var arrItem = []; angular.forEach($scope.items, function (item) { if(item.

Solution 1:

In your controller, where you define the gridOptions, you are using the wrong scope variable name.

data: 'myData',

should be

data: 'source',

Post a Comment for "Can I Use Entered Value Through Ng-model To Populate Angular Ng Grid?"