PDA

View Full Version : Error display of editable grid



ikenobe
5 Aug 2018, 1:31 AM
I have created an editable grid.


Even if a verification error occurs, the value is not cleared.
I want to display an error whenever there is a validation error.


I could display a red underline while editing, but it disappears when I finish editing.
How can I always display it?

Forum_Adm
8 Sep 2018, 7:40 AM
Thank you for your question- I have sent this to a team member that can help. We will get back with you as soon as we can!

rakumar
25 Sep 2018, 9:37 AM
Hello,

You will have to use validateedit event and set context.cancel = true or false accordingly.


https://docs.sencha.com/extjs/6.6.0/classic/Ext.grid.plugin.CellEditing.html#event-validateedit

Regards,
Kumar
Sencha Support.