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

Multiple focus

3 Answers 90 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ravenger
Top achievements
Rank 1
ravenger asked on 25 Sep 2011, 04:17 PM
How can I do only one focus in a hierarchical table, rather than the single focus in each child grid? (GridView Custom Hierarchy Template Demo)

3 Answers, 1 is accepted

Sort by
0
ravenger
Top achievements
Rank 1
answered on 02 Oct 2011, 11:25 PM
can anybody help me?
0
Ivan Ivanov
Telerik team
answered on 05 Oct 2011, 10:28 PM
Hi Ravenger,

Try subscribing to RadGridViews' SelectionChanged events and using the FocusManager.GetFocusedElement() determine whether you have "left" a RadGridView, or you have just selected another item of the same one. Then you may set its SelectedItem to null, considering the results of this check.

Kind regards,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
ravenger
Top achievements
Rank 1
answered on 08 Oct 2011, 06:56 PM
I understand what you mean, but i dont know how to make this in code. Can you explain this code in a simple example?
Tags
GridView
Asked by
ravenger
Top achievements
Rank 1
Answers by
ravenger
Top achievements
Rank 1
Ivan Ivanov
Telerik team
Share this question
or