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

Custom message inside rows when there is no data or error during fetching

Is there a way to display custom message inside grid rows fields.
Sometime my grid has no data or filters are mandatory or error occurred while fetching data or was error  thrown in DataAdaptor. 
In that cases I want to leave message for user inside body of grid.
Something like 'Please perform filtering to prevent data explosions'
I did try with Grid.ShowSpinner() but Spiner freezes filtering controls of columns also.

1 Reply

VN Vignesh Natarajan Syncfusion Team January 14, 2020 05:19 AM UTC

Hi Admir,  
Thanks for contacting Syncfusion forums.  
Query: “Is there a way to display custom message inside grid rows fields. 
We suggest you to achieve your requirement using Localization support for Grid. In the locale.json file, kindly customize the text of EmptyRecord property as per your own to display it in the Grid when no data were bound to it.  
No records to display 
Refer the below UG documentation for your reference. 
Please get back to us if above solution does not resolve your query.  
Vignesh Natarajan.  

Live Chat Icon For mobile
Up arrow icon