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

Customization for when No Results returned in SF Grid

Hi all,

Is there anyway to customize the message that is shown when grid returns no results?
Ideally, I would like full customization by using a vue slot. Are there any plans in the future to implement this?

Thank you,
Thomas

1 Reply

PS Pavithra Subramaniyam Syncfusion Team October 18, 2019 11:05 AM UTC

Hi Tom, 

Thanks for contacting Syncfusion support. 

Query #1: “Customizing the empty records message in grid” 

You can achieve this requirement by modifying the EmptyRecords value of the locale data in the Grid’s load event. This is demonstrated in below code snippet, 

onLoad: function(args) { 
    this.$refs.grid.ej2Instances.defaultLocale.EmptyRecord = "Empty grid"; 

Sample for your reference, 


Query#2: Ideally, I would like full customization by using a vue slot. Are there any plans in the future to implement this? 

Currently our Vue doesn’t have support for Vue Slots. Already we have added this feature in our list.  

You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.  
 
 
Regards, 
Pavithra S. 


Loader.
Live Chat Icon For mobile
Up arrow icon