angular-ui/ui-grid

Disabling sort still allows sorting using keyboard

Open

#7,096 创建于 2020年7月12日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)JavaScript (2,496 fork)batch import
grid-corehelp wanted

仓库指标

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

描述

Please make sure each of the following is true before submitting a new issue. We are a small team with limited time and it is very difficult to manage issues if they aren't reported correctly.

  • This is a bug report, not a question on how to use the grid.
    Use Stack Overflow or Gitter for questions.
  • You have searched the open issues to see if this bug has been filed before. We don't want duplicate issues.
  • You have reviewed the tutorials and documentation to ensure you are using the grid correctly. ui-grid.info
  • You are using the latest version of the grid. Older versions are not patched or supported.
  • You have provided steps to recreate your bug. A plunkr is even better.

Providing EnableSorting=false in gridOptions disables sorting using mouse and removes sorting options from the column header dropdown. However, it still allows sorting using keyboard(using space bar).

Plunkr link: http://plnkr.co/edit/B6x68zlUPLKAPpmo

贡献者指南