asitparida / VxGrid

An standalone native table plugin which uses the best of features provided by AngularJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grid is not showing data in the order it sorted by default.

bhasker412 opened this issue · comments

my data has 5 columns and same as grid.
col1: id - primary column
col2: name
col3: max marks
col4: Obtained Marks
Col5: Rank

When i bind the data which is sorted on Rank column, the grid is displaying the data sorted on primary column.

Grid will always sort on primary column upon getting binded.

Any way to bind sorted data to the grid directly?

As of now, we don't have any such avenue nor any means to achieve the same.

Closed with commits. Please use CONFIG.sortPredicate & CONFIG.reverseSortDirection