VS
Vijayanand S
Syncfusion Team
February 27, 2006 09:24 AM UTC
Hi Chuck,
Can you please check if the code below helps, try instead of TableControlCurrentCellActivated.
private void gridGroupingControl1_TableControlCellClick(object sender, GridTableControlCellClickEventArgs e)
{
e.TableControl.CurrentCell.MoveTo(e.Inner.RowIndex,e.Inner.ColIndex);
}
Best regards,
Stanley
AD
Administrator
Syncfusion Team
February 27, 2006 03:12 PM UTC
Actually I also have that code already in.
if (e.Inner.RowIndex != e.TableControl.CurrentCell.RowIndex)
e.TableControl.CurrentCell.MoveTo(e.Inner.RowIndex, 2, GridSetCurrentCellOptions.SetFocus|GridSetCurrentCellOptions.ForceRefresh);
I ended up using a timer to do the move. So in the activatecell method I enable the timer and then performs the move. This seems to work ok.