Forum


20:20

Hi there!
I' m having a little problem trying to use the d'N'd functionality. If I create a new table by clicking a button:
$("#add_table").click(function(){
$("#right").prepend('<table id="grid3"></table>');
//Creating grid3
jQuery("#grid3").jqGrid({
datatype: "local",
height: 200,
colNames: ['Cod. Analise', 'Data', 'PA'],
colModel: [
{name: 'ca3', index: 'ca3',width: 190},
{name: 'data3',index: 'data3',width: 70},
{name: 'pa3',index: 'pa3',width: 240}
],
rowNum:'',
caption: 'Grid 3'
});
// connect grid1 with grid2 and grid3
jQuery("#grid1").jqGrid('gridDnD',{connectWith:'#grid2,#grid3'});
...
While trying to drag from grid1 to grid3 (the new table, that is empty) I can't drop the element. The supposed row that appears to help to localize the spot where you intend to drag is very thin (just about 1px)! And we can't ever drop the element 🙁
Can you help me?
Best regards,
Edgar Veiga
13:12

Moderators
30/10/2007

Hello,
There is fix for thisprovided from Paolo.
http://www.trirand.com/blog/?p.....ridgriddnd
We will publish it soon.
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.
Most Users Ever Online: 715
Currently Online:
37 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66