Forum


09:24

18/09/2008

Hello, We are using the jqgrid as reading and editing datas, but we are having some troubles.
How we can make value test by variables fileds in the form (How we can see on the demo: Navigator on Live Data Manipulation in http://www.trirand.com/jqgrid/.....qgrid.html), wen the little form is opened for edition.
In this case, the avaliable verifications (max value, min value, requeried value, etc.) don´t are enought to us, we have some customs verification that must be performed before data submition to server.
How can be captured the values of the fields, in the moment that is change or before be submeted.
Thanks regards,
09:47

Moderators
30/10/2007

Hello,
This can be extended easy.
Open the grid.formedit.js and find the function
function checkValues(val, valref)
You will have idea how easy you can extend this.
Best 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.
00:37

Moderators
30/10/2007

Hello,
For inline editing there is no validation, but you can use
saveRow method and make you own validation here.
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.
Most Users Ever Online: 715
Currently Online:
68 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66