angular-ui/ui-grid

Save columns state not working

Open

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

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

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南