Forum

July 12th, 2025
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
CellEdit when value unchanged problem
01/07/2011
14:31
Avatar
Romyn
Member
Members
Forum Posts: 45
Member Since:
13/06/2009
sp_UserOfflineSmall Offline

Hi,

I've got a small problem that I've been scratching my head for days on and hope that someone can put me straight. I've cut the code down to the simplest I can that still demostrates the issue.

http://www.thekmz.co.uk/GEPlug.....test8.html

Summary:

I have a small grid based on local data that has a few rows in it. The data represents Pace (for runners etc) and while the source array contains the value in m/s (metres/second) the user can choose to view it in the grid in a variety of formats (m/s, min/km etc) - this they do by selecting their option from the select dropdown. This all works ok.

The user can also edit the values. If they change the value then all is ok but if they just enter through it/don't change it I get an error as the value is not what the fmt_pace function expects.

I've tried a number of different things - including an unformat on the column in question (same url but test8b.html) but don't seem to be getting anywhere. (I've also tried the latest jqgrid version as I'm currently on 3.8 in my app but get the same).

So my question - how do I go about achieving what I need - user being able to select from the various format options and for the grid to display in that format, being able to edit in the same format while saving to the base array in m/s and also to be able to enter through/not change and particular cell - the latter being the only part that doesn't work.

Thanks in advance

Kindest regards

Romyn

Forum Timezone: Europe/Sofia

Most Users Ever Online: 994

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