{"id":1780,"date":"2022-08-30T15:19:23","date_gmt":"2022-08-30T15:19:23","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/02\/problem-about-ng-grid-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:19:23","modified_gmt":"2022-08-30T15:19:23","slug":"problem-about-ng-grid-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-ng-grid-collection-of-common-programming-errors\/","title":{"rendered":"problem about ng-grid-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4bd414cb611b4aae0e9f7af0919747c2?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAardVark71<br \/>\njavascript html5 angularjs tree ng-grid<br \/>\nI am trying to implement a ng-grid along with tree functionality in Angular js. But I am not clear how to add dependency in it. If I am using only tree , its working fine , but when I am adding grid to it , the tree does not appear on the page. Here is my code of the controller:var app;app = angular.module(&#8216;AbnTest&#8217;, [&#8216;angularBootstrapNavTree&#8217;]);\/*app=angular.module(&#8216;AbnTest&#8217;,[&#8216;ngGrid&#8217;]);*\/app.controller(&#8216;AbnTestController&#8217;, function($scope) {var apple_selected;$scope.my_default_handler = funct<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2763f4a0886c197ea4b15cdbcc84d6b0?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nArnab Das<br \/>\nhtml angularjs partial-views ng-grid<br \/>\nIs there any example of using ng-grid in partial pages. Whenever I try to use, an error pops up as TypeError: Cannot set property &#8216;myData&#8217; of undefined.My App.js&#8217;use strict&#8217;;\/\/ Declare app level module which depends on filters, and services angular.module(&#8216;myApp&#8217;, [&#8216;myApp.filters&#8217;, &#8216;myApp.services&#8217;, &#8216;myApp.directives&#8217;, &#8216;myApp.controllers&#8217;, &#8216;ngGrid&#8217;]).config([&#8216;$routeProvider&#8217;, function($routeProvider) {$routeProvider.when(&#8216;\/view1&#8217;, {templateUrl: &#8216;partials\/partial1.html&#8217;, controller: &#8216;MyCtrl1&#8217;});$<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-12-02 01:21:53. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>AardVark71 javascript html5 angularjs tree ng-grid I am trying to implement a ng-grid along with tree functionality in Angular js. But I am not clear how to add dependency in it. If I am using only tree , its working fine , but when I am adding grid to it , the tree does not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1780","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1780"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1780\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}