Goal: I want to have red bordering around fields that the user has not filled-in yet, and update the border to green as the user has filled-in data on the in-line edit/add of grid row.
I have tried so by adding a script to add and remove a class on the onclick, onkeyup, and onpaste events (depending on the controller).
The assigned classes get reset upon clicking out of the control, so the CSS class I assign gets removed. I think an event is overwriting the classes for the parent spans.
I can't load the script upon going on edit/add mode. I tried running the script and passing Ids in the OnGridActionComplete "Add" action, but was not successful.
NPNaveen Palanivel Syncfusion Team March 23, 2023 06:00 PM UTC
Greetings from Syncfusion support.
We reviewed your query and found that when you click the
"update" button, the values in the edit template are not present,
which causes the "e-error" class not to be applied. So you attempted
are experiencing. We also attached the Ug Documentation for more reference