Change or remove default message "No cards to display".

Hi,

After updating to the most recent version of Syncfusion, the kanban shows the phrase "No cards to display", where there are no cards, I didn't find how to remove or change this phrase. Can you show me how can I do that?

Thanks,
Mauricio.

5 Replies 1 reply marked as answer

RV Ravikumar Venkatesan Syncfusion Team January 21, 2021 12:48 PM UTC

Hi Mauricio, 

Greetings from Syncfusion support. 

We have validated your requirement at our end and achieved it by replacing the default text content with the empty string with the help of the load function of the L10n class and for the same, we have prepared a sample that can be available from the below link. 

 
[app.component.ts] 
import { extend, addClass, L10n } from "@syncfusion/ej2-base"; 
 
L10n.load({ 
  "en-US": { 
    kanban: { noCard: "" } 
  } 
}); 
 

Kindly try the above sample and get back to us if you need any further assistance. 

Regards, 
Ravikumar Venkatesan 


Marked as answer

SJ Sujeet Jaiswara March 10, 2021 06:01 AM UTC

You can also hide by css
<ejs-kanban #kanbanObj cssClass='kanban-overview'...

.kanban-overview ::ng-deep  .e-empty-card {
  display: none;
}


NR Nevitha Ravi Syncfusion Team March 11, 2021 04:18 AM UTC

Hi Sujeet, 

Thanks for your suggestion..! yes we can hide it using CSS also. 

Regards, 
Nevitha 



AR Adrian Rodriguez May 4, 2021 08:16 AM UTC

Hello team,

Is there any way to can change the unassigned tag to other language on swimlaneSettings?

Thanks


IS Indrajith Srinivasan Syncfusion Team May 5, 2021 01:36 PM UTC

Hi Adrian, 
 
Greetings from Syncfusion support, 
 
We have validated your reported query. You can achieve your requirement, using the Swimlane templates before showing the keyField in the Kanban rows. We have also prepared a sampla that tries to meet your requirements. 
 
Code blocks:  
 
 
<div class="e-swimlane-row-text"> 
      <span *ngIf="data.textField !== 'Unassigned' else yourSpanishText">{{data.textField}}</span> 
     <ng-template #yourSpanishText> 
       no asignado 
     </ng-template> 
 </div> 
 
 
 
Please let us know if the solution helps, 
 
Regards, 
Indrajith 


Loader.
Up arrow icon