We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Navigation in grouping grid not working fine

I have a grouping grid that I set the selected record programatically, and need the navigation keep working with the cursor keys. This is how I set the selected record:

				grdNews.Table.SelectedRecords.Clear();
				grdNews.TableControl.SelectRecords.Clear();
 
				grdNews.Table.SelectedRecords.Add(grdNews.Table.Records[0]);
				grdNews.Table.Records[0].SetCurrent();
				grdNews.Table.Records[0].SetSelected(true);
 
				grdNews.TableControl.Focus();

This step is working fine. The problem is that when I try to navigate with the arrow keys, 
the grid go to the records was selected before my code, the last record that was selected by key or click.

How can I correctly set the selected record in the grouping grid?

1 Reply

AS Athiram S Syncfusion Team November 11, 2013 03:26 AM UTC

Hi Carlos,

Thanks for your interest in Syncfusion Products.

We are not able to reproduce the issue using the code given by you in the previous update. Can you please give us a sample that could reproduce the issue, so that we can resolve the issue at the earliest?

Regards,
Athiram S

Loader.
Up arrow icon