angular-ui/ui-grid

[moveColumn] threshold option

Open

#3,507 创建于 2015年5月15日

在 GitHub 查看
 (2 评论) (0 反应) (1 负责人)JavaScript (2,496 fork)batch import
grid-move-columnshelp wantedtype: bug

仓库指标

Star
 (5,395 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Could we add a moving column threshold option so that column moving does not start until the threshold is met?

Short description of our case: Because the column menu button is quite small for using with a tablet or mobile device, we decided that we want to add a custom header template that makes the whole header act as a button for the menu. This causes problems while trying to access the menu because not every mouse click is perfectly still, sometimes the user triggers a move action on that. Therefore we thought that adding a threshold option for when moving a column should start could fix this.

Are there any alternative solutions for this?

贡献者指南