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
Looking for suggestions
28/03/2010
14:21
Avatar
nhbrewer
Member
Members
Forum Posts: 13
Member Since:
10/01/2010
sp_UserOfflineSmall Offline

I have a web applicaiton that has several tabs, and each tab has a jqGrid, the problem I am having is with the addRow form, and the cells that have a datePicker.  When I am on any tab but the first one and press the add row button then click on the datepicker field, the value doesn't get added to the form, when selecting the date.  My suspision is that its because the form ids aren't unique.

Any thoughts?

29/03/2010
15:24
Avatar
nhbrewer
Member
Members
Forum Posts: 13
Member Since:
10/01/2010
sp_UserOfflineSmall Offline

Here's my where I think I need to make the change to grid.formedit.js

old:

                if(cnt>0) { $("#id_g", "#"+frmtb).val(rowid);  }

new:            

              if(cnt>0) {
                    $("#id_g").val(rowid+"_"+gID); // suspect this would work.
                    $("#"+frmtb).val(rowid);
                } // MDF

29/03/2010
20:08
Avatar
nhbrewer
Member
Members
Forum Posts: 13
Member Since:
10/01/2010
sp_UserOfflineSmall Offline

That didn't work... still hunting. 

30/03/2010
13:06
Avatar
nhbrewer
Member
Members
Forum Posts: 13
Member Since:
10/01/2010
sp_UserOfflineSmall Offline

Found and fixed the problem in grid.formedit.js in the createData method (added the text in blue)

                        var opt = $.extend({}, this.editoptions || {} ,{id:nm+"_"+gID,name:nm});

30/03/2010
19:04
Avatar
nhbrewer
Member
Members
Forum Posts: 13
Member Since:
10/01/2010
sp_UserOfflineSmall Offline

Figured it out... upgraded to jquery 1.8

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