Hi.
Please help me.
The validations option does behavior in assumption outside.
I want to validate in 0 to 100.
But when a number of 2-9 is included, it'll be a validation error.
----- test code ---------------------------
<div id="sample" style="margin:auto;"></div>
<script>
$(function() {
var col = [{"title":"sample","dataType":"number","dataIndx":"indata","editable":true
,"validations":[ {"type":"gte","value":0 ,"msg":"0 grater or equal"}
, {"type":"lte","value":100 ,"msg":"100 less or equal"}]
}];
var data = { data:[{}]};
$("#sample").pqGrid({ colModel: col, dataModel: data});
});
</script>
---------------------------------------------
input data is
-1 : 0 grater or equal
0 : ok
1 : ok
2 : 100 less or equal <- why?
99 : 100 less or equal <- why?
100 : ok
101 : 100 less or equal
Best regards.