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
This topic is locked No permission to create posts
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
When Add or first time Edit, there is no call to custom_value function
17/01/2013
15:20
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Which version do you use?

Also not sure, but you will need to download all the code from GitHub and build it or if you have difficulties with this you will need to include all the modules as set in loader

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.

17/01/2013
16:06
Avatar
elivol
Israel
Member
Members
Forum Posts: 15
Member Since:
01/06/2010
sp_UserOfflineSmall Offline

I use 4.4.1  - jQuery Grid

So, is it enough to download only grid.formedit.js ? And use other files from the released version?

17/01/2013
17:18
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

I will try to publish in the next two days the new 4.4.2 version

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.

17/01/2013
17:42
Avatar
elivol
Israel
Member
Members
Forum Posts: 15
Member Since:
01/06/2010
sp_UserOfflineSmall Offline

Hi, Tony

thank you for help and patience.

29/08/2013
13:14
Avatar
Torge
Member
Members
Forum Posts: 6
Member Since:
19/07/2010
sp_UserOfflineSmall Offline

Hi, I'm sure I am making something terribly wrong as I don't think this has gone unnoticed. But I am totally lost, so please help.

Basically: I have a custom element. And if I want to edit a row with a form, the custom_value function is called fine, but the element selector provided is pointing into nirvana. It seems to me, the function is called, before the Form is added to the document.

I use, as recommended, recreateForm:true 

This is the code in createData in the jqgrid

if($.isFunction(opt.custom_value) && rowid !== "_empty" ) {
     opt.custom_value.call($t, $("#"+nm,"#"+frmgr),'set',tmp);
}

If I change it to this, everything works fine:

if($.isFunction(opt.custom_value) && rowid !== "_empty" ) {
     opt.custom_value.call($t, $("#"+nm,tb),'set',tmp);
}
This topic is locked No permission to create posts
Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
31 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