Angularjs ui grid with grouping column sequence is getting jumbled up

102 views
Skip to first unread message

Mn Kishore

unread,
May 13, 2015, 3:33:00 AM5/13/15
to ang...@googlegroups.com

I am using AngularJs ui grid with grouping. The table is displaying fine but the problem I am facing is that the months sequence in the table is getting jumbled up. Please find my Plunker. In the table the Months are appearing in the jumbled up sequence 11-14, 05-15, 04-15, ... 02-15. But I need it in the sequence of 11-14, 12-14, 01-15, 02-15, 03-15, 04-15, 05-15. Can any one help me to fix it?

Sander Elias

unread,
May 13, 2015, 4:45:35 AM5/13/15
to ang...@googlegroups.com
Hi Mn,

Did you try sorting them in the right order before pushing them into the column array?

Regards
Sander

Mn Kishore

unread,
May 13, 2015, 5:05:23 AM5/13/15
to ang...@googlegroups.com
If you don't mind, could you please help me in doing that to keep the sequence in correct order?
Reply all
Reply to author
Forward
0 new messages