ui-grid
ui-grid copied to clipboard
Displaying sort priority: doesn't renumber after column menu -> remove sort
I am using a custom header cell template that displays the sort priority for each column to the user. It works well, except when there are 2 or more columns sorted and a higher-priority column's sort is removed. The sort priorities do not update to reflect the removed sort.
Plunker demo: http://plnkr.co/edit/49GWnKBVRZuWqM0CJ6Fb?p=preview