Hi Paulo,
Thanks for contacting Syncfusion support.
By default, in GridGroupingControl, when ReadOnly property is set to True for a particular column, it allows you to move the cursor inside the cell. In order to overcome this issue, e.Inner.Cancel is set to True in TableControlCurrentCellStartEditing event. Please make use of the code and sample below,
Code Example
|
//Event Subscription
this.gridGroupingControl1.TableControlCurrentCellStartEditing += GridGroupingControl1_TableControlCurrentCellStartEditing;
//Event Customization
private void GridGroupingControl1_TableControlCurrentCellStartEditing(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCancelEventArgs e)
{
GridTableCellStyleInfo style = e.TableControl.GetTableViewStyleInfo(e.TableControl.CurrentCell.RowIndex, e.TableControl.CurrentCell.ColIndex);
if (style.TableCellIdentity.Column.Name == "Name")
e.Inner.Cancel = true;
} |
Please let us know if you have any other queries.
Regards,
Sindhu