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_Related Related Topics sp_TopicIcon
Form Editing - need empty value
02/02/2011
10:46
Avatar
cooper64
New Member
Members
Forum Posts: 1
Member Since:
02/02/2011
sp_UserOfflineSmall Offline

i'm using jqgrid for the first time and all will work fine, but there are two questions, i found no answer.

I'm using 'Form Editing' and my history-field need an empty value, to give the user a blank field to add a new line to the history.

{name:'history',index:'history', width:40, editable:true, editoptions:{size: 20, maxlengh: 100, dataInit:function(elem) { $(elem).val('');}}, formoptions:{ label: "History-Notiz"}},

I try it to clear the value whith dataInit, but it is only a init-function. When i close the modal form and get the next data record, or use the next/last button, the history-value will filled again.

2. problem: in my empty fields, the edit form shows me in the textfields an ' ' blank. I hope , i can also use the clear-function from my first question.

3. question: Embarassed  I need in my delete-form also the history-field but i found no way to integrate it. For an delete-action, user should be add an reason in history.

Hope for some support here. thanks. Smile

cooper64

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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