I am trying to make a custom drop down list, each row having two selectable options. To be more precise, I want on each row to have two options: select item(which should act as a implicit ddl works) or delete selected item (which removes the selected item from the list).
This is basicly how my ddl shoud look when it's clicked:
If a user clicks item i get an event for that click, and i can update the page based on selected item.
If a user clicks delItemN then itemN and delItemN would disappear from the list.
Anyone could point me to a tutorial or give me some basic tips on how I could achieve this?