angular-ui/ui-grid

Unable to perform mouse "drag" on grid with cell navigation

Open

#4,800 创建于 2015年12月2日

在 GitHub 查看
 (4 评论) (0 反应) (1 负责人)JavaScript (5,395 star) (2,496 fork)batch import
good first issue

描述

I have to use mouse drag events on my grid. The code i wrote worked alright till version 3.0.0rc21. But after upgrading to version 3.0.7, my code stopped working .i.e i am unable to perform mouse drag on the grid with ui-grid-cellNav. With out the ui-grid-cellNav, my code works fine. From what i can understand, this code on line 1053 from the file src/features/cellnav/js/cellnav.js is preventing mousedown events. Link to file on github This change was added to git in commit 9532de2.

here is my plunker with the new version of ui grid. Link to plnkr

So is my understanding right or have i got it wrong and there is a proper way to do this?

P.S: In the plnk above, to make it work I would have to uncomment line 51 but that is not the solution. Also you can try this plunkr with 3.0.0rc21 which would achieve the required functionality.

贡献者指南