Click here to Skip to main content
15,847,077 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I select multiple rows in a datagrid on mouse click without using a control key?
Posted
Updated 6-Jan-11 3:19am
v2

1 solution

You want to have a multi-selectin of rows but don't want to use the general way of using 'Control' key while selection. In such case, one possible way what I can think of is to have first column as checkboxes. Allow user to select them in order to select rows. Thus, selecting/clicking on checkboxes alone would select multiple rows at a time.
 
Share this answer
 
Comments
Hiren solanki 6-Jan-11 9:26am    
Comment from OP:I need multi selection without using check box
Sandeep Mewara 6-Jan-11 9:31am    
Right, and what all? Until, unless you don't share across what and why clearly, how can we help you?
vivektp 6-Jan-11 23:45pm    
My apllication will be running in a device which has no key board and has a touch screen...
I have a data grid in my application which should support multiple row selection if the user selects row/s.How do i achive this without using check boxes?
Sandeep Mewara 6-Jan-11 23:56pm    
Ok. Checkboxs suit your requirement. Why not use it?
vivektp 7-Jan-11 1:27am    
That is my client's requirement .. :(

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