Forum
22:11
31/01/2010
Full install of jqgrid 3.6.2 (all modules selected). jQuery 1.41. jQueryUI 1.8a1
Drag on form dialogs is supposed to be true by default?
Dialog function from jqueryUI works fine. Clicking edit selected button on pager for the following grid brings up an form dialog, but it cant be dragged/moved.
Grid code:
$("#business_table").jqGrid({
url:'generate_table/business',
editurl:'edit_table/business',
cellsubmit:'remote',
cellurl:'edit_cell/business',
afterSaveCell:function () {$.jGrowl("Field updated!")},
datatype: "json",
colNames:['Id','Business Name', 'Contact', 'Address 1', 'Address 2', 'Address 3'],
colModel:[
{name:'id',index:'id', width:90, hidden:true},
{name:'name',index:'name', width:120, editable:true, edittype:'text', editrules:'required'},
{name:'contact',index:'contact', width:120, editable:true, edittype:'text'},
{name:'address1',index:'address1', width:120, editable:true, edittype:'text'},
{name:'address2',index:'address2', width:120, editable:true, edittype:'text'},
{name:'address3',index:'address3', width:120, editable:true, edittype:'text'}
],
rowNum:10,
rowList:[10,20,30],
pager: '#business_pager',
sortname: 'name',
viewrecords: true,
sortorder: "desc",
caption:"Business Admin",
cellEdit: false
});
$("#business_table").jqGrid('navGrid','#business_pager',{edit:true,add:false,del:false});
08:34
Moderators
30/10/2007
Hello,
The problem is maybe with jQueryUI 1.81a1. I'm not sure if it is compatible with jQuery 1.4
The simple test is to go back to jQuery 1.3.2 and see the result
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.
08:54
31/01/2010
Yes, going back to 1.3.2 fixes this.
The problem is with jqGrid though - because the jqueryui dialog function when called on its own works fine on the new version, and can be dragged.
ie.
$("#foo").dialog();
//is ok
Something about how jqgrid calls it must be different. Hope this can be fixed - the new live events are much needed in 1.4 😉
Most Users Ever Online: 715
Currently Online:
36 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66