angularjs - Ng-grid and sorting array data -


i'm using ng-grid data source array of arrays so

 $scope.mydata = [       ["moroni", "m"],       ["tiancum", "t"],       ["jacob", "j"],       ["nephi", "n"],       ["enos", "e"]     ] 

the full example can found on plunker http://plnkr.co/edit/lk6rnzagheeohmmkb1ri?p=preview

the actual problem data not sort while user clicks column headers. expected behaviour? there way data sort when click column?

thanks


Comments

Popular posts from this blog

c - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -