Let say I have a list of 20 Employees of a company and they are grouped into a handful (5) Departments. I need to select one or more Employees or Departments. What are some approaches to do this?

Auto suggestion / Typeahead type field comes to mind, but I haven't really seen any examples where they show grouped data and allow the group to be selected.

  • What do you need to do with the data when you select it? Does it populate some other field? Just display it visually? Submit it somewhere?
    – elemjay19
    Jun 4 '14 at 22:58
  • Submit it somewhere. It's used for filtering search results. The system allows complex search queries. So multiple of these selections may be used. Each one operates independently from one another.
    – nightning
    Jun 5 '14 at 18:06

Take a look at Chosen

It allows you to group within a selection, and select more than one employee from the same or different groups. I don't see built in support to select all from a single group with one click, but that could likely be worked in.


I ended up asking the dev to build a multi-select typeahead.

We put in icons to depict the different level in the hierarchy. If the group is selected, the associated icon is shown so the user knows the group is selected.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.