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

GridInCell Model

Hello, I am using version of Essential Grid and I am using GridInCell Model as a guide. Now the problem is (the problem is also with the GridInCell Sample too) that whenever the Child Grid exceeds from Visible region of Win Form, and I click any cell of the Child Grid... it get "Visible" Row and Column index and sets the current cell to "Actual" row and Column index. Is there anyway to select Child Grid''s CurrentCell by Clicking on Child grid. Bye

1 Reply

AD Administrator Syncfusion Team June 29, 2004 06:01 AM UTC

So when you click a child grid from outside of the child grid, you want the child currentcell to stay where it was previously, and not move to the clicked cell? If so, then try adding a OnClick override to the cell renderer class, and only call the baseclass if there is no currentcell.
protected override void OnClick(int rowIndex, int colIndex, MouseEventArgs e)
	//only call baseclass if no current cell
		base.OnClick(rowIndex, colIndex, e);

Live Chat Icon For mobile
Up arrow icon