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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

customize "record not found" message

Thread ID:





147171 Sep 3,2019 08:03 PM UTC Sep 9,2019 09:59 AM UTC Angular - EJ 2 3
Tags: ListBox
jose lara
Asked On September 4, 2019 01:19 AM UTC

Hi, by default , the list box in the dual list box component, has the label "record not found", if there are no records. How do I customize it? 

Vinoth Kumar Sundara Moorthy [Syncfusion]
Replied On September 4, 2019 09:51 AM UTC

Hi Jose, 
Thank you for contacting Syncfusion support. 
We have checked your reported requirement “To customize the noRecordsTemplate” and it can be achievable by using locale property as like in the below code example. 
<ejs-listbox [dataSource]='dataA' [toolbarSettings]='toolbarSettings' height='330px' scope='#connected-list' [fields]='fields' [locale]='en-US'></ejs-listbox> 
<ejs-listbox id='connected-list' [dataSource]='dataB' height='330px' [fields]='fields' [locale]='en-US'></ejs-listbox> 
import { L10n, setCulture } from '@syncfusion/ej2-base'; 
    'en-US': { 
        'listbox': { 
            'noRecordsTemplate': "Your Custom Text", // provide your own text here 
For your convenience, we have prepared the sample based on our suggestion. Please find the sample in below link, 
Could you please check the above sample and get back to us, if you need any further assistance on this? 
Vinoth Kumar S 

jose lara
Replied On September 7, 2019 07:15 PM UTC

Thx Vinoth. This works as expected. 

Narayanasamy Panneer Selvam [Syncfusion]
Replied On September 9, 2019 09:59 AM UTC

Hi Jose, 
You are welcome. 
We're happy to hear that the reported issue is resolved at your end. 
Narayanasamy P.  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon