I'm looking for a way to perform field validation in server side in inline and form edit and update
column with result so that edit mode is not terminated.
I tried in colModel:
editrules = { custom = true,
custom_func = function (value, colname) {return [false, 'test']}
}
it looks like that custom_func is called only if enter is pressed to save form.
How to call custom_func immediately if field is changed and loses focus or if field has changed and enter is pressed
without losing focus or is there better way to validate changed column immediately if it loses focus ?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top