angular-ui / ui-grid

UI Grid: an Angular Data Grid
http://ui-grid.info
MIT License
5.39k stars 2.47k forks source link

Disabling sort still allows sorting using keyboard #7096

Open srjonnal opened 4 years ago

srjonnal commented 4 years ago

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.

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

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

sasimarudhuri76 commented 3 years ago

Any update on the issue. We are able to sort the columns even when enablesorting is set to false. Sorting is not happening upon the click but working with the keyboard navigating to header and upon pressing key enter.

Observed that key event is getting attached to the column header div.

Check the attachment for the same. uigridKeyIssue

phanithinks commented 3 years ago

Any update on this