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

Customize empty grid message "no record to display"

Is there any way to customize that message?

Thanks.

1 Reply

RS Rajapandiyan Settu Syncfusion Team November 18, 2022 04:20 AM

Hi Gin,


Thanks for contacting Syncfusion support.


You can customize the default text of EmptyRecord by using Globalization of Grid.


Globalization: https://ej2.syncfusion.com/aspnetmvc/documentation/grid/global-local#localization

  

The Localization library allows you to localize the default text content of the Grid and other controls. The grid component has static text on some features (like Filter Dialog, Edit Dialog, Group drop area text, Pager information text, etc.) that can be customized by loading its custom text in L10n. Please find the below code example for your reference. 


 

<script>

    ej.base.L10n.load({

        'en-US': { // culture name

            'grid': { // localize the default text of Grid component

                 'EmptyRecord': 'No data',

            }

        }

    });

</script>

 

 


Regards,

Rajapandiyan S


Loader.
Live Chat Icon For mobile
Up arrow icon