Rendering Issue in ng-grid

166 views
Skip to first unread message

Vignesh Kumar

unread,
Feb 10, 2015, 5:39:35 AM2/10/15
to ang...@googlegroups.com
Hi all, 

I have an application built using angular js and jquery. I have used the ng-grid in my application, but there is a problem while rendering that ng-grid. It consists of only 4 rows, but still there is a problem while rendering. While rendering it shows the hidden fields in ng-grid as well as the $$hash_key in the Grid. Please help me. 

Thanks in advance.



Senthil Kumar

unread,
Feb 11, 2015, 12:20:34 AM2/11/15
to ang...@googlegroups.com
i don't now the ng-gride,  but i use the ng-repeat it is best for simple table view , other wise use jquery datatable  plugin it is best for all functionality.

Vignesh Kumar

unread,
Feb 11, 2015, 12:31:19 AM2/11/15
to ang...@googlegroups.com
Thanks Senthil.. 

But I have used the ng-grid in my project, and it is half way completed. Now I can't change the whole set... If I change, then the whole UI have to be changed. So, I have to use the ng-grid. If U came to know any solution, please let me know...

Thanks in advance..

Thanks
Vignesh Kumar J

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/B44VxRxsh88/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.



--

Thanks & Regards,
Vignesh Kumar. J



Sander Elias

unread,
Feb 11, 2015, 2:44:50 AM2/11/15
to ang...@googlegroups.com

Hi Vignesh,

Looking at your problem, it sounds like you are using JSON.stringify(dataInideAnguler) somewhere, replace that with angular.toJson()
If that is not the case, build a plunk/codepen showing your problem, and I will take a look at it.

Regards
Sander

Vignesh Kumar

unread,
Feb 11, 2015, 3:43:42 AM2/11/15
to ang...@googlegroups.com
Sure Sander.... Thanks... :-)

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/B44VxRxsh88/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Aniket Agrawal

unread,
Feb 19, 2015, 8:36:17 AM2/19/15
to ang...@googlegroups.com
Hi Vignesh,

I had same problem few weeks back. It got solved by resizing the grid. When debugger is opened(F12), it binds the data*(Give a try!!).

Place the below code in the controller after binding the grid.

setTimeout(function () { $('.gridStyle').trigger('resize'); }, 500); 

Hope it works for you as well :)

Thanks,
Aniket
Reply all
Reply to author
Forward
0 new messages