Facing issue with Dual list Box moveAllFrom(<<) or moveAllTo(>>)

Facing issue with Dual list Box 

When there is no records in the list clicking on moveAllFrom(<<) or moveAllTo(>>) no records found line is getting added to end of the other list

e.g.


 


 


1 Reply 1 reply marked as answer

GK Gayathri KarunaiAnandam Syncfusion Team December 17, 2020 05:55 PM UTC

  
Hi Akshatha, 
Greetings from Syncfusion support. 
We can prevent adding of “No record found” to the end of the other listbox by adding the following condition in the sample 
Code: 
begin(args: Object): void { 
    if ( (args.eventName == "moveAllFrom" || args.eventName == "moveAllTo") && 
      args.items.length == 0) { 
      args.cancel = true; 
    } } 

For your reference, we have prepared a sample based on this, please refer below link. 
 
Sample link:  https://stackblitz.com/edit/angular-djhkch-xts4up?file=app.component.ts 
Based on your query we suspect that you are facing this issue in the source side. We logged an issue report for this, and we will include this fix in our upcoming patch release which will be scheduled on 30th December 2020, and appreciate your patience until then. You can track the status of this bug using below link 
 
Feedback Link: https://www.syncfusion.com/feedback/20727/no-record-found-text-is-added-to-list-item 
 
Regards, 
Gayathri K 


Marked as answer
Loader.
Up arrow icon