Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81986

Inline editor field validation, want to keep focusing the field

$
0
0

I am using inline editing and want keep focusing the text field if validation is false. i have tried preSubmit, preBlur and perClose event.
perBlur does not fires
perSubmit only fires when value is change
perClose fires every time

so i applied validation on preSubmit event and save validation result in variable later i pass this variable in preClose event as return value.

its working for first time, after that it only firing perClose event.
Is something i am missing here OR what will be the right approach in this scenario.


Viewing all articles
Browse latest Browse all 81986

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>