We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Triggering validation on blur of a grid input control

Thread ID:





121790 Jan 26,2016 09:24 AM UTC Jan 27,2016 09:56 AM UTC JavaScript 1
Tags: ejGrid
Greg Gannicott
Asked On January 26, 2016 09:24 AM UTC


We've experienced that there are certain validation types which do not trigger on blur.

For example, a control which is mandatory does not trigger as invalid when the user leaves it blank.

Is it possible to set every validation/control type to validate on blur?


Ragavee U S [Syncfusion]
Replied On January 27, 2016 09:56 AM UTC

Hi Greg,

Thanks for contacting Syncfusion support.

We analyzed your requirement to display validation messages upon focus out on an element while editing. We have achieved your requirement using the below workaround.

<script type="text/javascript">

    $.validator.defaults.onfocusout = function (element) {




Demo Link: http://jsplayground.syncfusion.com/cifzbr5x

Ragavee U S.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon