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
Dynamically add value to select Box
05/08/2009
06:25
Avatar
flish
UK
New Member
Members
Forum Posts: 1
Member Since:
05/08/2009
sp_UserOfflineSmall Offline

hi, had a flick through the examples and the docs and just hoping am missing this, as it would be a 'nice' feature.  Basically what we have is a grid of data with adds / edits etc all working nicely, a lot of the columns are select boxes with values being populated on load (ASP function, querying DB, outputting json data).  These select box values are actually database table rows at end of the day, so adding a new select value requires a DB row to be inserted somewhere.  The scenario I have is as;

Go to Add / Edit record (appreciate the solution may be different for each), choose the column which is a select box and presented with values A,B,C,D  but we want to store 'E', so looking for a means of having a text input where they can type 'E' and it gets added (presumably with a background url query like the main form) and can then be chosen?

Asking too much, or just missing the obvious :-)

TIA

05/08/2009
11:51
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Maybe too much Wink

You can construct your own procedure for this  and use a couple of methods and events to synchronize this process with the grid

Regards

Tony

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