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++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -