Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






Drag and Drop rows and Chome.

No Tags
UserPost

17:10
22/06/2012


Herb

New Member

posts 2

Hello,


I'm working with the jqGrid and was experimenting with the drag and drop functionality that's built into the plugin.  I'm using the most recent versions of jquery, jquery ui, jqgrid, etc.


I kind of have 2 problems, but I'll start with the more complicated one because if that one doesn't get panned out then the drag and drop feature isn't a viable option.

The bigger problem is that the drag and drop simply does not work in Chrome, at all.  I can drag from a jqGrid, but dropping onto another grid does not work.  It simply leaves the row in the 'dropped' location, never inserting into the grid and just floats there until the page is refreshed.  


Just loading 2 basic grid's with data through an ajax call, and here's the two lines to implement the drag and drop functionality.


        $("#teamRosterBench").jqGrid('gridDnD', { connectWith: '#teamRosterStarters' });
        $("#teamRosterStarters").jqGrid('gridDnD', {connectWith: '#teamRosterBench'});


This problem persists both ways in chrome.  There seems to be something wrong with it in Firefox as well, but I can at least successfully drag AND drop rows in firefox.


Please advise.

21:29
22/06/2012


Herb

New Member

posts 2

Found the solution.  I was making a stupid mistake, so disregard the  above problem.

No Tags

About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

47 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9595

Posts: 28789

Membership:

There are 10190 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1157

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7009 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information