1 Attachment(s)
Ext.ux.BoxSelect (like the Facebook's one)
After having seen this, read this, and this, I wrote this extension.
http://extjs.efattal.fr/examples/box...screenshot.jpg
Demo
Usage:- Items can be deleted individually
- Managed keys: backspace, delete, left/right arrows
Todo list:- Manage some combo config options like allowBlank=false
Tested in IE6/7, FF2/3, Opera, Chrome.
All advices are welcome
04.30.2008 : Corrected bug on delete key pressed
09.15.2008 : NEW VERSION- File renamed (initially it was intended to be a plugin but not anymore)
- Duplicate entries avoided (it's not an option, otherwise it wouldn't work correctly)
- Right rendering in different browsers (rounded corners only in Gecko)
- New methods like setValue, enable, disable
- Initial value handled in different ways (collection of record, array of IDs, string of IDs)