Custom edit validation can be implemented using the
onColumnValidate and
onRecordValidate events. In this example the
onColumnValidate event is used to check the date of birth and hire date of the employee. The
onRowValidate event is used to perform validation against more than one column value, in this case to ensure that the Line Manager is not the same as the employee.The
editDialog closeOnApply property is set to true which causes the Edit Dialog to close when he edit is applied.. The sample also demonstrates use of the
placeHolder property that can be used to display some "place holder" text for empty fields as a prompt for user input.