vaadin / framework

Vaadin 6, 7, 8 is a Java framework for modern Java web applications.
http://vaadin.com/
Other
1.78k stars 729 forks source link

[TwinColSelect] Add buttons for 'Add All' and 'Clear All' #6709

Open vaadin-bot opened 9 years ago

vaadin-bot commented 9 years ago

Originally by spungin


In the margin between the twin list boxes, there is plenty of room for the buttons '>> and <<' to add or remove all items. This will not take up additional real estate, and is standard behavior for this type of widget.


Imported from https://dev.vaadin.com/ issue #17768

vaadin-bot commented 9 years ago

Originally by EduFrazao


Attachment added: screen1.png (15.1 KiB) screen1.png https://trac-attachments.vaadin.com/trac/17768/screen1.png Screenshot

vaadin-bot commented 9 years ago

Originally by EduFrazao


Attachment added: TwinColSelect2Widget.java (6.3 KiB) Client side code.

vaadin-bot commented 9 years ago

Originally by EduFrazao


I agree. I've extended TwinColSelect with this feature, but because its not designed for extension, theres some ugly copy/paste code. Anyway i've attached the client changes.

It will be nice if this features become part of the core component. OBS: This features fits well on the simple ListSelect component too.

stale[bot] commented 6 years ago

Hello there!

It looks like this issue hasn't progressed lately. There are so many issues that we just can't deal them all within a reasonable timeframe.

There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):

Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!