Inline editing validation error

Inline editing validation error

TomB2015TomB2015 Posts: 19Questions: 6Answers: 0

Hi Allan,

I'm having an issue with inline editing (using server side and submitOnBlur=true).

When editing a record where a field validation error is sent back from the server other than on the field which is currently being edited (via inline editing) - no error message is displayed by the editor/datatables. Should an error message be displayed in this scenario?

Regards,
Tom

Answers

  • allanallan Posts: 61,781Questions: 1Answers: 10,112 Site admin

    Hi,

    Currently no, error messages for other fields will not be shown. The reason for this is that inline editing is for a single item at a time, and it is assumed that if a row is in the table is must already be valid, therefore there shouldn't be any invalid data (other than potentially the currently editing field).

    However, this question has come up a number of times, so it will be something that I will be adding in a future version, but at the moment, you would need to use an event such as postSubmit to intercept the error message for other fields and show it.

    Allan

This discussion has been closed.