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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridInCell Model

Thread ID:

Created:

Updated:

Platform:

Replies:

15838 Jun 29,2004 03:14 AM UTC Jun 29,2004 06:01 AM UTC WinForms 1
loading
Tags: GridControl
Maqsood Ahmed
Asked On June 29, 2004 03:14 AM UTC

Hello, I am using version 1.6.1.8 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

Administrator [Syncfusion]
Replied On 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
	if(!this.activeGrid.CurrentCell.HasCurrentCell)
		base.OnClick(rowIndex, colIndex, e);
}

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.

Warning Icon 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.Close Icon

;