Title: validateRow in datagrid Post by: wymak on May 19, 2016, 07:18:18 AM Usually after editing a row in datagrid, the script call $('#dg').datagrid('validateRow',index) to do data validation.
Does anybody knows what will this 'validateRow' do? (1) does it call up the field editor to validate the data entered, or (2) call a built-in 'validateRow' function (which can be overridden by programmer) to do the data validation? Title: Re: validateRow in datagrid Post by: stworthy on May 19, 2016, 11:51:36 PM When calling 'validateRow' method on a row, all the field editors is validated by calling 'validate' method. This 'validate' method is defined in validatebox component. The user can set the 'validType' property for the editors to validate the inputing values.
Code: editor: { |