Setting CurrentCell programmatically

just wondring how can i set the current cell of grid grouping control programmatically (mimic the effect of clicking on a cell by the user)

Many thanks


1 Reply

RC Rajadurai C Syncfusion Team May 6, 2009 03:21 PM UTC

Hi John,

Thanks for your interest in Syncfusion products.

To programmatically set the current cell and activating it mimicking the click behavior, please try the following code in button click event.

this.gridGroupingControl1.Focus();
this.gridGroupingControl1.TableControl.CurrentCell.Activate(6, 3,GridSetCurrentCellOptions.SetFocus );


Regards,
Rajadurai

Loader.
Up arrow icon