ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: chrisf on January 25, 2017, 11:24:34 pm

Title: not seeing drag start event
Post by: chrisf on January 25, 2017, 11:24:34 pm
When using pqGrid I dont see 'dragstart' events. I have tried the grid with draggable set to both true and false.

We use a cell renderer and in the html I have <img draggable='true' ondragstart='cmDragHandler(event);' src=.... > etc

but never reach cmDragHandler() when dragging a cell.

I should also mention dragging other elements on the same page - but not in the grid works okay

Any ideas?
Title: Re: not seeing drag start event
Post by: paramvir on January 26, 2017, 06:42:48 pm
Grid uses mouse down, move events to do selections, swipe which prevents any native mouse events like draggable.
Title: Re: not seeing drag start event
Post by: chrisf on January 27, 2017, 08:03:26 pm
Thanks for the quick response.

Is there anyway to work around this - we used pqgrid to display images we want to drag onto our app.

Could a div hovering above catch all events pre-grid?

Thanks