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. Image for the cookie policy date

Verify non-null in Grid columns but does not work


 Verify non-null in Grid columns  but does not work ???





3 Replies

VN Vignesh Natarajan Syncfusion Team February 19, 2019 08:09 AM UTC

Hi LiuTzuYi, 
 
Thanks for using Syncfusion products. 
 
Query: Verify non-null in Grid columns  but does not work ??? 
 
From your query, we understand that you are facing issue with validation in ejGrid. We have prepared a sample as per your code example and we are not able to reproduce the reported issue at our end. But reported issue will occur when jQuery validate script file is not referred into your project. 
 
Refer the below screenshot for the script reference 
 
<link rel="stylesheet" rel='nofollow' href="~/lib/bootstrap/dist/css/bootstrap.css" /> 
        <link rel="stylesheet" rel='nofollow' href="~/css/site.css" /> 
        <link rel='nofollow' href="https://cdn.syncfusion.com/16.4.0.42/js/web/material/ej.web.all.min.css" rel="stylesheet" /> 
        <script src="~/lib/jquery/dist/jquery.js"></script> 
        <script src="~/lib/jquery-validation/dist/jquery.validate.js"></script> 
        <script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script> 
        <script src="~/lib/jsrender/jsrender.js"></script> 
        <script src="http://cdn.syncfusion.com/16.4.0.42/js/web/ej.web.all.min.js"></script> 
 
Refer the below screenshot for the output 
 
 
 
 
For your convenience we have prepared a sample which can be downloaded from below link 
 
 
Please get back to us with more details if you still face the issue. 
 
Regards, 
Vignesh Natarajan  
 



LI LiuTzuYi February 20, 2019 06:18 AM UTC

Thank you very much!  but i still have a question i would like to ask .it is how to convert the prompt to chinese?



VN Vignesh Natarajan Syncfusion Team February 20, 2019 06:27 AM UTC

Hi LiuTzuYi, 
 
Thanks for the update. 
 
Query: “ how to convert the prompt to chinese?” 
 
From your query, we understand that you need to change the validation message to your language based on the locale. We have already discussed this topic in our knowledge base document section. Kindly refer the below link for knowledge base document 
 
 
Above suggestion will work only for default type of validation. If you are using custom validation method, then you can change the message in validation definition itself.  
 
Please get back to us if you have further queries.    
 
Regards, 
Vignesh Natarajan 


Loader.
Live Chat Icon For mobile
Up arrow icon