Hello All,
Regarding the ServerObject Custom Validators,
I have simple ListGrid with some custom validators in the datasource XML file, I noticed that the condition method in the validator class was called many times while I am editing the grid even if am not changing the values of any field in the grid.
Based on the example of the attached files, if the value of the warehouse field is empty in the grid then after editing that row the condition method of the validator class is getting called 3 times (one time for the each of the following fields II0_DOC_HEADER, II0_DOC_DESCRIPTION, II0_ISSUE_DEPARTMENT) though these fields were not touched in the grid.
My understanding that the validator describes a check that should be performed on a value the user is trying to save, but in my case I can see many validation are going on even if there are no save operations
Waiting your feedback
Version : SmartClient_v90p_2014-03-07_PowerEdition
Regarding the ServerObject Custom Validators,
I have simple ListGrid with some custom validators in the datasource XML file, I noticed that the condition method in the validator class was called many times while I am editing the grid even if am not changing the values of any field in the grid.
Based on the example of the attached files, if the value of the warehouse field is empty in the grid then after editing that row the condition method of the validator class is getting called 3 times (one time for the each of the following fields II0_DOC_HEADER, II0_DOC_DESCRIPTION, II0_ISSUE_DEPARTMENT) though these fields were not touched in the grid.
My understanding that the validator describes a check that should be performed on a value the user is trying to save, but in my case I can see many validation are going on even if there are no save operations
Waiting your feedback
Version : SmartClient_v90p_2014-03-07_PowerEdition