same value i dont want into second dropdownlist

I have same two ejs dropdownlist  having same array values.if i select one value in first ejs dropdownlist ,that value i dont want in second dropdownlist. kindly provide solution.


1 Reply

PO Prince Oliver Syncfusion Team September 13, 2021 03:17 PM UTC

Hi Sunil, 

Thanks you contacting us. 

We have achieved your requirement to remove the selected value of the first dropdown in the second dropdownlist. We have used the change event of the first dropdownlist and remove the same item from the second dropdownlist datasource and updated the datasource property. 


Kindly check the above sample and let us know if it meets your requirement. 

Regards, 
Prince 


Loader.
Up arrow icon