Greetings:
Is there any way to use redefine the function that is triggered when I send an error response and keep the color of the edited row like if I’m not using the defineAction function?
Excuse me for my bad english. ![]()
Thanks in advance.
Greetings:
Is there any way to use redefine the function that is triggered when I send an error response and keep the color of the edited row like if I’m not using the defineAction function?
Excuse me for my bad english. ![]()
Thanks in advance.
as for colors - you can alter custom styles for each state, like
dp.styles.error = ""; //do not apply special styles for error response
Also, beware that value which your code returns from defineAction handler does matter.
Returning true will enable default error handler processing ( which means row color marking and others ) , returning false will prevent any reactions from dataprocessor’s side.