Hello thanosk,
You could use one same validation function for all columns, but you need to refer to that function.
You should set validation for each one column that you desire to be validated.
Note: You need to use same arguments as in the validation
callback
function validateLength(cell, value) { //Do validation };
...
{
text: 'Quantity', datafield: 'quantity', width: 70, align: 'right', cellsalign: 'right', columntype: 'numberinput',
validation: validateLength
}, {
text: 'Price', datafield: 'price',
validation: validateLength
}
Best Regards,
Hristo Hristov
jQWidgets team
http://www.jqwidgets.com