angular-ui/ui-grid

Save columns state not working

Open

#4,370 建立於 2015年9月15日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (5,395 star) (2,496 fork)batch import
good first issuegrid-savestate

描述

Grid.prototype.sortColumn = function sortColumn(column, directionOrAdd, add) {

...

Why default typeof column.sort is Array? Whe it is object, then state is ok. First time sorting it is Array and state can not be saved.

貢獻者指南