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. Image for the cookie policy date
close icon

ThreeState checkbox

Hi, I have a GridGroupingControl and one of the column in the grid is a checkbox. How do i get three states in the check box(checked, unchecked, indeterminate). I tried to set the indetermvalue = 2 in the querystyleinfo and that didn''t work. My syncfusion version 2.0.5.1 Thanks

1 Reply

AD Administrator Syncfusion Team March 11, 2005 10:23 PM UTC

You should try setting the style.TriState property for that column. GridStyleInfo style = this.gridGroupingControl1.TableDescriptor.Columns["boolCol"].Appearance.AnyRecordFieldCell; style.TriState = true; style.CellType = "CheckBox";

Loader.
Live Chat Icon For mobile
Up arrow icon