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
Post a Comment