Please take a look at following plunker http://plnkr.co/edit/34JedA It is a simple app with a ng-grid. What I need to do is navigate to the edit page when the edit button is clicked. What happens is instead of going to the edit page columns in the grid get messed up. Could anyone please explain why it is happening and what I could do to correct it.

有帮助吗?

解决方案

There seems to be a problem with the ng-grid version you are using, I changed to the latest version I found and it worked.

  <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/ng-grid/2.0.8/ng-grid.debug.js"></script> 

Example: http://plnkr.co/edit/5myA2K?p=preview

其他提示

Do not include file with following header.

/***********************************************
* ng-grid JavaScript Library

* Compiled At: 04/22/2014 16:27
***********************************************/

instead of this, please add

/***********************************************
* ng-grid JavaScript Library

* Compiled At: 04/07/2014 16:55
***********************************************/
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top