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

RadioButtons in a GridGroupingControl cell

Thread ID:





53321 Dec 12,2006 09:34 AM UTC Dec 12,2006 10:49 AM UTC Windows Forms 1
Tags: Grouping
Sanath Vijayakumar
Asked On December 12, 2006 09:34 AM UTC

I'm using 2 Radio buttons inside for a column in my GridGrouping Control and I need to check one or the other value by default based on a column value. Also, If I click on One Radio button and go to the next row, the selection which I made in previous row disappears.

Could you please help me out whether I can have Radio Buttons in GridGrouping control and can manage based on the Database value.

Sanath Vijayakumar

Administrator [Syncfusion]
Replied On December 12, 2006 10:49 AM UTC

Hi Sanath,

Please refer to the attached sample that shows you how to add the radio button in a grid cell and let me know if you are looking something different.

///Sample Code here...
StringCollection sc = new StringCollection();
sc.AddRange(new String[]{"Open","Close"});

//Change the celltype to Radio button.
this.gridGroupingControl1.TableDescriptor.Columns[ "RadioButton" ].Appearance.AnyRecordFieldCell.CellType = "RadioButton";

//Display information for the Radio button.
this.gridGroupingControl1.TableDescriptor.Columns[ "RadioButton" ].Appearance.AnyRecordFieldCell.ChoiceList = sc;

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.

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