Hello Team,
I need the same functionality with Up\Down Key. When I press 'Right\Enter' it should expend the selected row.
Like in following scenario I am able to Hide\Show the row details through mouse click.
void RadGridView1_RowLoaded(object sender, RowLoadedEventArgs e)
{
GridViewRow row = e.Row as GridViewRow;
row.DetailsVisibility = Visibility.Visible;
}
But i want the handle the same with keyboard….something like this.Which is not working
private void RadGridView1_KeyUp(object sender, KeyEventArgs e)
{
if (e.Key == Key.Enter || e.Key == Key.Right)
{
//(sender as GridViewDataControl).RowDetailsVisibilityMode =GridViewRowDetailsVisibilityMode
.VisibleWhenSelected;
}
OR
//Row in not avaialble
//GridViewRow row = e.Row as GridViewRow;
//row.DetailsVisibility = Visibility.Visible;
}
Thanks in advance for response.
Regards
------------------
Manmohan