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
Forms and modal dialogues not dragging or resizing
31/01/2010
22:11
Avatar
bobmitch
New Member
Members
Forum Posts: 2
Member Since:
31/01/2010
sp_UserOfflineSmall Offline

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});

01/02/2010
08:34
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

01/02/2010
08:54
Avatar
bobmitch
New Member
Members
Forum Posts: 2
Member Since:
31/01/2010
sp_UserOfflineSmall Offline

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 😉

Forum Timezone: Europe/Sofia

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.com

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information