No records to display

Can I get access to that cell displaying that text and insert a template?


1 Reply

PS Pavithra Subramaniyam Syncfusion Team July 3, 2023 12:39 PM UTC

Hi Ivan Loyola,


Greetings from Syncfusion.


To change the default texts of the Grid, you can make use of the localization feature. We have prepared a code snippet and sample that will guide you through the process.


Please refer to the code snippet below:


import { L10n } from '@syncfusion/ej2-base';

 

L10n.load({

  'en-US': {

    grid: {

      EmptyRecord: 'Custom Empty Row Message',

    },

  },

});

 


For more detailed information and to explore all the available grid text options, we recommend referring to our documentation on localization. It provides comprehensive guidance and examples.


Documentation: https://ej2.syncfusion.com/vue/documentation/grid/global-local#localization


We don’t have any default option to add templates for the empty record cell. However, you can access that cell inside the “dataBound” event using the “e-emptyrow” class name.


Regards,

Pavithra S


If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.



Loader.
Up arrow icon