-
Dashboards Direct – How to specify an error message on Data Grid edit failure
I have a Data Grid component with Edit mode enabled, users can only update cells, not add or delete.
In my user defined update function, which upserts the users entry, I have put in some validation checks before the upsert to ensure the values are within a given range.
If the validation fails, I return an `ERROR_MESSAGE symbol, and this prompt the Dashboard to display an
error message in Red which says “An error occurred executing the update query: Error text: t”
Is there a way for me to to replace the “t” with a message corresponding to the validation check that failed?
Thanks
Log in to reply.