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.
Unfortunately, activation email could not send to your email. Please try again.

Navigation in grouping grid not working fine

Thread ID:

Created:

Updated:

Platform:

Replies:

114137 Oct 30,2013 02:18 PM Nov 10,2013 10:26 PM Windows Forms 1
loading
Tags: Grouping
Eduardo Fernandes
Asked On October 30, 2013 02:18 PM

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?

Athiram S [Syncfusion]
Replied On November 10, 2013 10:26 PM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;