Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
jqGrid and Drag and Drop
19/11/2009
07:46
Avatar
dotnetaddict
New Member
Members
Forum Posts: 1
Member Since:
19/11/2009
sp_UserOfflineSmall Offline

Folks,

  I've got an ASP.NET MVC site and I am trying to implement jqGrid drag and drop. I've gotten pretty much all of the other jqGrid features working that I want, but there seems to be a problem with drag and drop. As soon as I add the jqGrid("#grid", 'gridDnD' ... code to it, there is a javascript exception with the text "exception thrown and not caught".

Here's my script includes at the top of every page:







<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />





<link rel="Stylesheet" type="text/css" media="screen" href="/Scripts/themes/vader/jquery-ui-1.7.2.custom.css" />





<link rel="Stylesheet" type="text/css" media="screen" href="/Content/ui.jqgrid.css"

/>





<script type="text/javascript" src="../../Scripts/jquery-1.3.2.min.js"></script

>







<script type="text/javascript" src="../../Scripts/jquery-ui-1.7.2.custom.min.js"></script

>







<script type="text/javascript" src="../../Scripts/jquery.validate.min.js"></script

>







<script type="text/javascript" src="../../Scripts/MicrosoftMvcJQueryValidation.js"></script

>





<script src="/Scripts/grid.locale-en.js" type="text/javascript"></script>





<script src="/Scripts/jquery.jqGrid.min.js" type="text/javascript"></script>

And then I try and link two grids for DnD:

jQuery(





"#availableAbilities").jqGrid('gridDnD', { connectWith: '#currentAbilities'

});

Any advice on what I can do here to troubleshoot this would be greatly appreciated. I downloaded the full jQuery UI plugin and put that in my Scripts directory and i downloaded the full jqGrid plugin (checked every box) and put that in my scripts directory but something is obviously screwing up with the DnD.

21/11/2009
07:22
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

This a very strange, moreover that you have everthing checked when you download the grid.

Could you please send me a link to the problem?

Best Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

11/01/2010
14:14
Avatar
bantha
Guest
Guests

ConfusedHi

I'm getting the same issue did you guys find a solution??

13/01/2010
18:14
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Do you have dowloaded all the needed modules. Does you jQuery UI contain the draggable, droppable  and sortable widgets?

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
35 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information