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
EditTypeCustomCreateElement function not firing in EditDialog
24/08/2012
12:30
Avatar
Apogee
New Member
Members
Forum Posts: 2
Member Since:
24/08/2012
sp_UserOfflineSmall Offline

Hi there,

I am evaluating jqGrid as part of a prototype ASP.Net MVC 3 application with the intention of using it for a number of production systems. So far I think it is an excellent plugin and will save us a lot of time.

I'm trying to make use of as much functionality as possible in order to demonstrate jqGrid's capabilities and I'm having difficulty with one of the features.

Specifically, this feature is the EditDialog's 'forward' and 'back' buttons that move the selected row up and down. One of my columns is a boolean value and I want to display a green 'tick' image and red 'cross' image depending on the underlying value. This is working fine using a CustomFormatter. I have also set up the EditTypeCustomGetValue() and EditTypeCustomCreateElement() js functions to correctly format the field in the EditDialog as a checkbox with the selected value correctly stored to the database on clicking Submit.

The problem is when you click the forward and back buttons in the EditDialog, the EditTypeCustomCreateElement() function does not fire, so the value of the checkbox is not set correctly. Or, and this is probably more likely, what am I NOT doing that I need to do to update my custom EditType field to set its value correctly on paging? 🙂

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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