dhtmlxgrid keep focus on mandatory fields


Is it possible to keep focus on the empty fileds in the grid. Or is it possible not to submit the page unless and until the mandatory fields have been entered some value and alert the user/ show message if the value kept empty.

Thanks in advance,



If grid used with dataprocessor - setVerificator method of data processor can be used ( it will mark invalid fields, and prevent data sending before value will not be corrected )
There is no built in support for normal mode, but you can try to use experimental extension, which adds validation possibility

Code and sample of usage attached.

validation.zip (7.51 KB)