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.
Syncfusion Feedback

Ellipsis Cell

Thread ID:

Created:

Updated:

Platform:

Replies:

57049 Feb 24,2007 12:28 PM UTC Feb 26,2007 03:18 PM UTC Windows Forms 1
loading
Tags: GridControl
Shankar Ramasubramanian
Asked On February 24, 2007 12:28 PM UTC

I have a grid with elipsis cell button and when user clicks on that button it popup a form to search and select a data. This data is then populated in the elipsis cell. The problem is when i click the cell button the focus is not changing to cell containing the cell button. I have to click on the cell containing the ellipsis button and then ellipis button itself to make this work. How do i solve the problem

thanks

shankar

Administrator [Syncfusion]
Replied On February 26, 2007 03:18 PM UTC

Hi Shankar,

Try calling the CurrentCell.MoveTo method in CellButtonClicked event of the Grid. Here is a code snippet.

this.gridControl1.CellButtonClicked +=new GridCellButtonClickedEventHandler(gridControl1_CellButtonClicked);

private void gridControl1_CellButtonClicked(object sender, GridCellButtonClickedEventArgs e)
{
GridCurrentCell cc = (sender as GridControl).CurrentCell;
cc.MoveTo(e.RowIndex,e.ColIndex,GridSetCurrentCellOptions.SetFocus);
}

Best regards,
Haneef

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

;