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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC: How to enable backspace in editable foreign key referrenced cell?

Thread ID:





49783 Sep 26,2006 08:29 PM UTC Sep 27,2006 05:49 AM UTC WinForms 1
Tags: GridControl
Konstantin Babiy
Asked On September 26, 2006 08:29 PM UTC

I am using grid grouping control, setting for some columns:

columnDescriptor.Appearance.AnyRecordFieldCell.DropDownStyle = GridDropDownStyle.Editable;

This columns are foreign key referrenced to other tables using ForeignKeyReference RelationKind.

The problem is that BackSpace is not working whrn editing such cell. Is there any solution to such task?

Thank you for your help.

Administrator [Syncfusion]
Replied On September 27, 2006 05:49 AM UTC

Hi Konstantin,

You can handle the QueryCellStyleInfo event and set the Style.DropDownStyle property to GridDropDownStyle.Editable in a ForeignKeyCell. See the below code snippet for more details.

private void grid_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
if( e.Style.CellType == "ForeignKeyCell")
e.Style.ReadOnly = false;
e.Style.DropDownStyle = GridDropDownStyle.Editable;

Let me know if this helps.

Best Regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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