You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We'd like to have the row number available in the validate callback, as it would be useful to generate meaningful error messages for the user.
Moreover, it would allow us to construct non-fatal errors with reference to the row number, without failing the entire row.
Describe the solution you'd like
Make the row number available as a parameter in the validate callback.
Describe alternatives you've considered
I am aware that the row number is available in the data-invalid event, but then there is no way to discriminate whether we want to append it to an error message or not. This logic lives in the validate callback, and for some validation errors we want to append the row number, because there is no other way to identify an item (for example if the name column is empty), whereas in others we don't need the row number.
The text was updated successfully, but these errors were encountered:
Parsing or Formatting?
Is your feature request related to a problem? Please describe.
We'd like to have the row number available in the validate callback, as it would be useful to generate meaningful error messages for the user.
Moreover, it would allow us to construct non-fatal errors with reference to the row number, without failing the entire row.
Describe the solution you'd like
Make the row number available as a parameter in the
validate
callback.Describe alternatives you've considered
I am aware that the row number is available in the
data-invalid
event, but then there is no way to discriminate whether we want to append it to an error message or not. This logic lives in the validate callback, and for some validation errors we want to append the row number, because there is no other way to identify an item (for example if thename
column is empty), whereas in others we don't need the row number.The text was updated successfully, but these errors were encountered: