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.

贡献者指南