Welcome to the Angular feedback portal. We’re happy you’re here! If you have feedback on how to improve the Angular, we’d love to hear it!
Thanks for joining our community and helping improve Syncfusion products!
We bought and use the SF Grid for angular. We use it on multiple places. The problem is when we want to change the text shown when no records are available.
In order to change the default "No records to display", according to https://www.syncfusion.com/forums/151927/how-to-hide-no-records-to-display-label and https://www.syncfusion.com/forums/145545/grid-localization-and-setting-own-text-while-no-records-to-display, we have to use the
L10n.load(localeObj);
This is very cumbersome and when e.g. we have different data for the same grid (based on user choice), we have to implement extra logic to switch between custom locales with custom messages.
I found this
https://www.syncfusion.com/forums/153386/customize-empty-grid-message-no-record-to-display - this looks like the way it should be done, by providing custom template. So in Angular, we'd use e.g.
<ejs-grid ..> <e-columns>...</e-columns></ejs-grid><ng-template #emptyRecordTemplate>
custom text
</ng-template>
Or, even better, just <ejs-grid [emptyText]="my text"...>. Or, a method of Grid/GridComponent...