Hi All,
I have editable grid in my UI, I have validations in the rows. i gave edit button and save button on each row to edit and save the particular row.
but when i click on save button, it is validating the entire grid rows not only that particular row.
Can you please help how to validate only that particular row when we save it.
Thanks in advance.
SS for reference.
Discussion posts and replies are publicly visible
If you want each row's save to validate just that row's data then use unique validationGroup for each row 's save button and the same value should be added to each component of the row. You cna use a dynamic validation group e.g. concat("validateRow",fv!index) for each grid component. This way each save button and components of that row will share the same validationGroup and would help run the validations as per expectation.