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
close icon

Show Text in Empty Grid

We would like to be able to show some information in a grid if there are no rows like "No Data available for this selection"

is there some way of doing something like this with ejGrid?



2 Replies

MS Michael Salzlechner January 25, 2017 04:41 PM UTC

I see this is actually working.

is there a way to change the text?



JK Jayaprakash Kamaraj Syncfusion Team January 26, 2017 05:04 AM UTC

Hi Michael, 

Thank you for contacting Syncfusion support. 

While using “en-US” culture, we can change the Empty record text by using below code example . 

        <script type="text/javascript"> 
            ej.Grid.Locale["en-US"]["EmptyRecord"] = "No Data available for this selection"; 
                </script> 



We have uploaded the predefined language packs for some commonly used cultures in the below GitHub location and refer to it for the corresponding culture. The culture file has localized texts for all the Syncfusion controls.

https://github.com/syncfusion/ej-global 
  

Regards, 

Jayaprakash K. 


Loader.
Live Chat Icon For mobile
Up arrow icon