Click here to Skip to main content
15,916,693 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I know how to make a multi select list box. But project requirement of mine is to have a multi list box only but box should contain a tabular structure with multiple rows inside. If any column is clicked it should select all the row.

In sort how to have a multi column combo box.
Posted
Comments
SteveyJDay 25-Aug-14 9:27am    
I did something like this once.
First I created a combobox.
When the combobox was clicked I would display a div over top of it.
Inside the div add a table to display the multi column data.
Use some JavaScript and css on the table cells to style active/selected row(s)
Save the selected values to a hidden field.
Hide the overlaid div when focus is lost.

Do Google search for more.
Creating a Multicolumn Combo Box in ASP.NET[^]
 
Share this answer
 
 
Share this answer
 

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