Posted 14 May 2021, 5:41 am EST
Hello,
I want to delete a record from the column dropdown after clicking on delete button, how can I achieve this.All the rows of that column r binded with same dropdown data.
Thank you.
Regards,
Nivisha Panwar
Forums Home / Wijmo / General Discussion
Posted by: nivishapanwar on 14 May 2021, 5:41 am EST
Posted 14 May 2021, 5:41 am EST
Hello,
I want to delete a record from the column dropdown after clicking on delete button, how can I achieve this.All the rows of that column r binded with same dropdown data.
Thank you.
Regards,
Nivisha Panwar
Posted 17 May 2021, 7:55 am EST
Hi Nivisha,
You can use the collectionView of the DataMap to remove an item from its list. Please refer to the sample link below for reference:
https://codesandbox.io/s/focused-vaughan-zim95
To run the sample, select any row and click on the button. The corresponding data map value will be removed.
Note that removing any data map value will convert its display value into its original id.
Regards,
Ashwin