problem about ng-grid-Collection of common programming errors


  • 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 appear on the page. Here is my code of the controller:var app;app = angular.module(‘AbnTest’, [‘angularBootstrapNavTree’]);/*app=angular.module(‘AbnTest’,[‘ngGrid’]);*/app.controller(‘AbnTestController’, function($scope) {var apple_selected;$scope.my_default_handler = funct

  • Arnab Das
    html angularjs partial-views ng-grid
    Is there any example of using ng-grid in partial pages. Whenever I try to use, an error pops up as TypeError: Cannot set property ‘myData’ of undefined.My App.js’use strict’;// Declare app level module which depends on filters, and services angular.module(‘myApp’, [‘myApp.filters’, ‘myApp.services’, ‘myApp.directives’, ‘myApp.controllers’, ‘ngGrid’]).config([‘$routeProvider’, function($routeProvider) {$routeProvider.when(‘/view1’, {templateUrl: ‘partials/partial1.html’, controller: ‘MyCtrl1’});$

Originally posted 2013-12-02 01:21:53.