Forum


16:38

22/08/2009

Hi,
I´m trying to set the value of the rule to 0 but it doesn´t take the validation an is able to submit negative values, how can I fix the issue,
Here is the colmodel, what I´m doing wrong?? ... Thanks in advance
colModel: [
{ name: 'Id', index: 'Id', width: 60,hidden:true, align: 'left', editable:false },
{ name: 'Concepto', index: 'Concepto', width: 50, align: 'left', editable:true, edittype: "select"},
{ name: 'Descripcion', index: 'Descripcion', width: 90, align: 'left', editable:true, editoptions:{size:10}, editrules: { required: true }},
{ name: 'Cant', index: 'Cant', width: 10, align: 'right', editable:true, editoptions:{size:10}, editrules: { required: true, minValue: 0, number: true } },
{ name: 'Vlr_unit', index: 'Vlr_unit', width: 18, align: 'right', editable:true, editoptions:{size:10}, editrules: { required: true, minValue: 0, number: true } },
{ name: 'Vlr_parc', index: 'Vlr_parc', width: 20, align: 'right', editable:false, editoptions:{size:10} },
],
02:44

Moderators
30/10/2007

Hello,
Thanks. It is a bug and already fixed in GitHub. Will be published with next bug fix release.
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:
56 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