PDA

View Full Version : [CLOSED] Combobox with action button possible?



tMp
Jun 18, 2014, 7:51 PM
Hi

I don't know if it exists already but I haven't found a solution for my task or didn't search with the right keywords.

I wan't do have a combobox with a list of items that have a the right end an items - for example to delete the according combobox item entry - which deletes the combobox when I select it but doesn't rise the normal select item of the combobox. Something like the delete button in the autocomplete list of an outlook email when I start typing in the to-field.

If this is too little information I have to start drawing a sketch ;)

thanks for any ideas.

best regards!

Daniil
Jun 19, 2014, 5:14 AM
Hi @tMp,

I would start experimenting with these examples.
http://examples2.ext.net/#/Form/ComboBox/Custom_Drop_Down_List/
http://examples2.ext.net/#/Form/ComboBox/Two_Columns/

As far as you can see there is a possibility to change the appearance of items. You could try to add something on the right. I would probably add a span with a background image.

tMp
Jun 19, 2014, 6:01 AM
Thank you for your tipps. Will post the solutions if I get it working.

best regards.

tMp
Jun 23, 2014, 10:30 AM
It was even easier than I thought. Just if someone is facing a similar problem:

All I did was, take the list item config from the above examples and added two links to them. One with the normal combobox list entry and one with an image to delete that entry. From there adding a direct method to the appropriate action was a quick thing to do.

best regards.

Daniil
Jun 23, 2014, 10:38 AM
Thank you for sharing how you've done that.