I have the following code link .
My problem occurs as follows:
I have already identified that the problem is in the removal, as I have to remove the dateitem. I tried to pass dataitem.id and it still did not work because Id's are cloned by dragging some part from the list from left to right.
I need the Id's to be different so when removing with dataitem.id it just removes a part.