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

customize "No records to display" TD in grid

Thread ID:





130654 May 24,2017 02:49 AM UTC May 24,2017 01:39 PM UTC ASP.NET MVC 1
Tags: Grid
Dongil Shin
Asked On May 24, 2017 02:49 AM UTC

Hi, I'm trying to customize the 'No records to display' value and style when there's no data in the Grid.

When I try to access, it's undefined or some long objects.

Could you let me know how to change 'No records to display' text value and css style such as 'height' of the td?

Thank you.

Kind Regards,

Mani Sankar Durai [Syncfusion]
Replied On May 24, 2017 01:39 PM UTC

Hi Dongil, 

Thanks for contacting Syncfusion support. 

We have analyzed your query and based on your requirement we have prepared a sample that can be downloaded from the below link. 
In this sample we have customized the “No records to display” using Locale property in grid.  
Refer the code example. 
       .Columns(col => 
<script type="text/javascript"> 
ej.Grid.Locale["de-DE"] = { 
    EmptyRecord: "Keine Aufzeichnungen angezeigt", 

Also to change the height of particular td element we suggest you to use the cssClass in grid. 
Refer the code example. 
    .rowchange .e-gridcontent td{ 

Note: To use the Localization for the grid please refer the corresponding locale file in the script section under ej.web.all.min.js file 

Also we can get the corresponding culture file from the following location. 

Refer the documentation link. 
Please let us know if you need further assistance. 
Manisankar Durai 


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