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
onRightClickRow and jqmodal bugs with 4.4.0
26/06/2012
11:34
Avatar
mercer
Italy
Member
Members
Forum Posts: 3
Member Since:
26/06/2012
sp_UserOfflineSmall Offline

After upgrading from 4.3.3 to 4.4.0 i found 2 small problems:

- onRightClickRow don't prevent anymore showing the browser right click menu (using contextmenu my menu is behind the browser menu now)

-with jqmodal and the form editing the button bSubmit (in italian "Invia") in the modal dialog doesn't make the ajax call (editurl), and ends with this error (taken from the Chrome js console):

   Uncaught TypeError: Object function (a,b){return new c.fn.init(a,b)} has no method 'type' jquery.jqGrid.min.js:11

   b.extend.stripPrefjquery.jqGrid.min.js:11
   sjquery.jqGrid.min.js:281
   a.jgrid.extend.editGridRow.each.a.click.a.jgrid.hideModal.gbjquery.jqGrid.min.js:306
   c.event.handlejquery.js:55
   c.event.add.j.handle.ojquery.js:49

This is how I setup my pager: 

   $("#listParametri").jqGrid('navGrid','#pagerParametri',
            {search: false, view:false, edit:false, del: false, refresh: false, addtext: "Aggiungi"}, //options
            {}, // edit options
            {reloadAfterSubmit: true, closeOnEscape:true, top: 250, left: 400, width:350, resize:false, drag: false, closeAfterAdd: true, recreateForm:true, onInitializeForm: remapInputNameAdd, afterSubmit: manageServerResponse}, // add options
            {} // del options
        );   

the function remapInputNameAdd works but manageServerResponse is never reached

sorry but I didn't manage to replicate these errors in the demos

both of these errors didn't happened in 4.3.3

01/07/2012
14:14
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I do not thisnk tha the problem is in the grid, but rather in the code and what you ask in the ajax request.

The form editing is not changed from 4.3.3 to 4.4.0 you can check this.

Regards

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.

02/07/2012
09:45
Avatar
mercer
Italy
Member
Members
Forum Posts: 3
Member Since:
26/06/2012
sp_UserOfflineSmall Offline

tony said:

Hello,

I do not thisnk tha the problem is in the grid, but rather in the code and what you ask in the ajax request.

The form editing is not changed from 4.3.3 to 4.4.0 you can check this.

Regards


Hi, tnx for the reply...

As I said before the same code works perfectly with 4.3.3, and you too wrote that the form editing is not changed: so the error is surely with 4.4.0 Wink

btw I'll check, but if the jqgrid documentation is the same i don't know how to change my code to try...

02/07/2012
13:10
Avatar
mercer
Italy
Member
Members
Forum Posts: 3
Member Since:
26/06/2012
sp_UserOfflineSmall Offline

ok found the problems:

- onRightClickRow with 4.4.0 shows the browser right click menu and with 4.3.3 don't:

   to fix this I need to call event.preventDefault(); in the function

- form editing don't work with jquery 1.4.2; with the updated version (1.7.2) works. Maybe you have to write what legacy version of jquery are no longer supported with the newest version of jqgrid Cool

Cheers

10/07/2012
13:55
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I'm little confused - in your first  post you say:

After upgrading from 4.3.3 to 4.4.0 i found 2 small problems:

- onRightClickRow don't prevent anymore showing the browser right click menu (using contextmenu my menu is behind the browser menu now)

but in your last post you say too:

onRightClickRow with 4.4.0 shows the browser right click menu and with 4.3.3 don't:

I do not know which is the right one.

Regards

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:
52 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