ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

cellNav causes draggable rows functionality to not work

Open jasonaibrahim opened this issue 10 years ago • 7 comments

I know this issue is in relation to a third party plugin but I wanted to ask in case this had something to do with the way cellNav is modifying the grid.

The issue is this: if cellNav and ui-grid-draggable-rows are both enabled on the grid, draggable rows will not work. The strange part is however, if edit is enabled and a cell is focused for editing, then the draggable rows directive will work.

Here is a jsbin describing the issue: https://jsbin.com/nomixu/edit?html,js,output

jasonaibrahim avatar Jan 07 '16 18:01 jasonaibrahim

any update on this issue ? any help ?

Nabeelhassan avatar Feb 23 '17 08:02 Nabeelhassan

Set one column attribute as "allowCellFocus :false", and we can perform drag & drop using that column columnDefs: [{ name: 'character', allowCellFocus :false, cellTemplate: '

{{COL_FIELD}}
' }, { name: 'realName', enableCellEdit: true, }, { name: 'gender' }],

Tharsini avatar Mar 28 '17 13:03 Tharsini

I need a proper fix .. I need to perform drag drop for the whole row

Nabeelhassan avatar Mar 31 '17 06:03 Nabeelhassan

Apply & test, it will working for whole row drag & drop

Tharsini avatar Mar 31 '17 07:03 Tharsini

I just tested it, the drag will only work when you set your pointer on that column to drag.

elineopsommer avatar Apr 13 '17 11:04 elineopsommer

Yp this is not the solution

Nabeelhassan avatar Apr 13 '17 19:04 Nabeelhassan

Any update on this Issue?

arkreddy16 avatar Nov 19 '19 09:11 arkreddy16