Comments (13)
Can't replicate the issue on the interactive demo page: http://moonstorm.github.io/trNgGrid/release/index.html#/GlobalOptions
The site is using Angular 1.2.9. Could you upgrade to this version? If that doesn't work, I'm gonna need to see some markup.
from trnggrid.
Will work on upgrading Angular and testing it with 1.2.9 and let you know what happens.
from trnggrid.
closed due to lack of activity
from trnggrid.
My timing is terrible. I'm seeing the same thing on Angular 1.2.24. I haven't updated to 1.3 yet to test it there, however. Let me know if I can provide any additional information. I was having problems with the grid automatically picking up changes to a dynamic set of columns, so I started using the "fields" attribute in the
element based on the data returned from the $http call. That appears to work okay, but it's throwing these errors in the console regardless.Error: [$compile:ctreq] Controller 'trNgGrid', required by directive 'trNgGridBodyCell', can't be found!
http://errors.angularjs.org/1.2.23/$compile/ctreq?p0=trNgGrid&p1=trNgGridBodyCell
at VALIDITY_STATE_PROPERTY (http://localhost:9000/bower_components/angular/angular.js:78:12)
at getControllers (http://localhost:9000/bower_components/angular/angular.js:6536:19)
at nodeLinkFn (http://localhost:9000/bower_components/angular/angular.js:6685:35)
at compositeLinkFn (http://localhost:9000/bower_components/angular/angular.js:6098:13)
at nodeLinkFn (http://localhost:9000/bower_components/angular/angular.js:6698:24)
at compositeLinkFn (http://localhost:9000/bower_components/angular/angular.js:6098:13)
at publicLinkFn (http://localhost:9000/bower_components/angular/angular.js:5994:30)
at $get.boundTranscludeFn (http://localhost:9000/bower_components/angular/angular.js:6118:21)
at controllersBoundTransclude (http://localhost:9000/bower_components/angular/angular.js:6725:18)
at ngRepeatAction (http://localhost:9000/bower_components/angular/angular.js:20567:15) <td tr-ng-grid-body-cell="0" field-name="comments" ng-style="{'width':columnOptions.cellWidth,'height':columnOptions.cellHeight}" class="ng-scope"> angular.js:10061(anonymous function) angular.js:10061$get angular.js:7357nodeLinkFn angular.js:6687compositeLinkFn angular.js:6098nodeLinkFn angular.js:6698compositeLinkFn angular.js:6098publicLinkFn angular.js:5994$get.boundTranscludeFn angular.js:6118controllersBoundTransclude angular.js:6725ngRepeatAction angular.js:20567$watchCollectionAction angular.js:12385$get.Scope.$digest angular.js:12512$get.Scope.$apply angular.js:12777done angular.js:8371completeRequest angular.js:8585xhr.onreadystatechange
from trnggrid.
If you could isolate the problem in a simple scenario showing the error and post a jsFiddle that would be of great help.
from trnggrid.
Sorry for the late reply - I think the GH emails were getting caught by my spam filter. I'll see if I can build something simple and send your way.
from trnggrid.
First of all trnggrid is great! Thank you for your work and most of all for sharing it!
Now.. I am seeing the same issue when loading data via JSON in the Controller where trnggrid is also controlled from. When loading the data vie resource in my ui router setup I am not seeing the issue. I will try to repo the issue for you in a fiddle or plunkr. I am using Angular 1.2.25 - I need it for ngStrap, albeit this (in my case: avoidable) issue trnggrid runs fine.
from trnggrid.
I also have this issue. I'm using Angular UI-router.
from trnggrid.
Same here, with Angular 1.3.2
from trnggrid.
Just an update: the error disappeared when I changed to paging for some reason. (There were other code changes so I'm not 100% sure this was the change).
from trnggrid.
Hi MoonStorm, here is a jsfiddle: http://jsfiddle.net/4erni/vyedwyvg/ same as in http://jsfiddle.net/howieweiner/fhk93vdr/3/. Diff in bootstrap: 3.3.0, angular: 1.3.1.
from trnggrid.
Fiddle is updated and running ok. Change in syntax, view fiddle at http://jsfiddle.net/4erni/vyedwyvg/3/
from trnggrid.
@panuhorsmalahti, I switched to pagination but it did not resolve the issue. Can you please pin point other changes you made that might've affected this?
from trnggrid.
Related Issues (20)
- Apply custom attributes to each datacell HOT 2
- Using a select element when row is selected HOT 2
- AngularJS can't load header/foot templates HOT 1
- Any idea on how to implement the grid with paging by calling data page per page HOT 2
- Server-side paging keeps firing up HOT 1
- Unable to define a second column for sorting
- Get new list after filter into model HOT 3
- how to bind data to trnGrid using typescript HOT 1
- unable to view documentation HOT 3
- show image / picture in cell HOT 1
- conversation report failing HOT 1
- How to add link to grid cell HOT 1
- find current page of multi page table
- Unable to bind ng-click to selected row
- Default sorting with custom filtering
- ordenação
- Column sum in another directive HOT 1
- Angularjs trnggrid custom page size for pagination
- Select All/Deselect All functionality for the particular page
- no "main" element in node_modules/tr-ng-grid/package.json
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trnggrid.