Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Good Morning !

I Found a lot for Multiple Selection Combobox in Ext Js But I Failed..
So Please Suggest Me A Good Link..

Thanks In Advance.
Posted
Comments
Sergey Alexandrovich Kryukov 27-Sep-14 1:03am    
So-o unclear. But I thin I got main idea.
But way?
—SA

1 solution

If you need to implement a combo box with multiple selection, I would strongly recommend to design something very different: a tree view with check boxes in each node:
https://github.com/krejcon3/CheckBoxTree/blob/master/CheckBoxTree.php[^],
http://demo.koolphp.net/Examples/KoolTreeView/Advances/TreeView_With_CheckBox[^].

I do understand that you don't really need a tree. You will get what you want if you use just a single-level tree and probably won't render those dotted lines. Why is will be much better than multiple-selection combo box? Because such combo box will look and act in a very confusing way to your users, and because thoroughly chosen selection will be easily destroyed by a single random click.

This is not the case with nodes with check box. Each node looks very suggestive, it's clear that it can be checked, the checked state in independent from both selection and keyboard focus and selection cannot destroy checked status; for a user, it will be much clearer what to do.

You failed to find multiple-selection combo box or list box not because people are stupid (probably, it's still possible to find; I never tried), but because such control is not really a good idea.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900