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

GridControl column with ToggleButtons

Thread ID:





121266 Nov 25,2015 07:57 AM UTC Nov 26,2015 03:07 PM UTC WinForms 1
Tags: GridControl
Roberto Guerzoni
Asked On November 25, 2015 07:57 AM UTC

Good morning
in a gridoftypeGridControlI would love to havea Boolean columnthat displaysaToggleButtontypebuttoninstead ofthe classicCheckBox.
Is it possible?Do you havea simple example?

Image Example
Toggle Button Columns
Thank you.

Roberto Guerzoni

Vinish Kumar K [Syncfusion]
Replied On November 26, 2015 03:07 PM UTC

Hi Roberto,

Thank you for your interest in Syncfusion products.

You can use ToggleButton instead of checkbox. You can  just declare a control in the form and assign  the Control as celltype for a cell like below.

            ToggleButton togBtn = new ToggleButton();

            this.gridControl1.ColStyles[2].CellType = GridCellTypeName.Control;

            this.gridControl1.ColStyles[2].Control = togBtn;

Please let me know if you have any concerns.

Vinsih K.


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