Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Deselect a selected row Collapse All
Subject Author Date
Upanshu Yadav May 15, 2011 - 10:36 PM

Could anyone tell me how to deselect a selected row in a grid by pressing ctrl key and then clicking on the selected row?I don’t wan’t multiple row selection in the grid so can’t use MultiAreaSelectionSet(false)..


Regards


Upanshu


 


 


 

Technical Support May 16, 2011 - 11:44 AM

Selection is supported for rectangular cell regions rather for grid rows. This is true even for grid controls using full row selection, when each selection rectangle just covers all cells in a row. The CExtGridBaseWnd::SelectionGetForCell() method returns the state of a selected cell. You can check the selected state of cells in the first column.