This is a migrated thread and some comments may be shown as answers.

Deselect the selected cells

1 Answer 170 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ramasamy
Top achievements
Rank 1
Ramasamy asked on 04 Oct 2011, 07:01 AM
Hi,

I am using Self Referencing GridView. In that in have a problem that if I am selecting new cells (in parent and also in child) by holding the control key. Now if I click particular cell without holding the control key, then all the selected cells should be deselected. But its happening only the corresponding child/parent grid.

Also by holding the mouse left button how to select the parent and child grid columns without holding control keys.

Thanks,
Ramasamy

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 07 Oct 2011, 07:34 AM
Hello Ramasamy,

This would be the expected behavior since each grid has its own selection logic. What you could try is to handle the SelectedCellsChanging/SelectedCellsChanged events of the grid and perform the logic you want inside. 
You could take a look at this forum thread for a reference on a similar scenario.
 

Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Ramasamy
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or