Tables with a listbox selection style
Posted: Fri Aug 07, 2009 12:20 pm
by pillick >> Tue, 4 Feb 2003 1:15:30 GMT
Hi.
I have a table, where each row is an item and each column is an attribute of the item.
I want users to be able to select multiple items (rows) in exactly the same way as they would select items in a listbox with extended multi-selection (ie shift selecting a range, and ctrl adding to the selection)
Any idea how I would go about this? is there a way to determine weither the ctrl or shift keys are pressed from within the table_click event?
Thanks in advance
Dave
Hi.
I have a table, where each row is an item and each column is an attribute of the item.
I want users to be able to select multiple items (rows) in exactly the same way as they would select items in a listbox with extended multi-selection (ie shift selecting a range, and ctrl adding to the selection)
Any idea how I would go about this? is there a way to determine weither the ctrl or shift keys are pressed from within the table_click event?
Thanks in advance
Dave