Multiselect Refresh

Hi,
i want to refresh the datasource property of multiselect on removed() event.
i have tried to achieve the above goal by implementing refresh() inside removed() event custom function.but i am not getting anything.Need help here.

3 Replies

GG Gopi Govindasamy Syncfusion Team January 23, 2018 03:12 PM UTC

Hi Prangya, 

Thanks for using Syncfusion EJ2 components 

We have checked your requirement for refresh() the control in removed event. Multiselect  component removed event fired while removed the each and every selected item. Please let us know which scenario you have used this case and same way to take the instance and refresh the control.  

App.ts 
 
import { Component, ViewChild } from '@angular/core'; 
import { MultiSelectComponent,SelectEventArgs } from '@syncfusion/ej2-ng-dropdowns'; 
 
export class AppComponent { 
 
    @ViewChild('sample') 
    public multiObj: MultiSelectComponent;  
    public closeNav():void{   
      this.multiObj.refresh(false);  
    }  
} 

 

 Please let us know if you have any concern, we will happy to assist you.   

Regards, 
Gopi G. 



PT Prangya Tiwari January 31, 2018 03:12 PM UTC

Thank you so much.



GG Gopi Govindasamy Syncfusion Team February 1, 2018 10:43 AM UTC

Hi Prangya,  

Most Welcome. Please get back to us if you require any further assistance on this  

Regards,  
Gopi G. 


Loader.
Up arrow icon