I am creating a header checkbox and it is appearing in a indeterminate state - how can I set it to unchecked by default?
.Columns("Select").Style = UltraWinGrid.ColumnStyle.CheckBox
.Columns("Select").Header.CheckBoxVisibility = HeaderCheckBoxVisibility.Always
.Columns("Select").Header.CheckBoxSynchronization = HeaderCheckBoxSynchronization.RowsCollection
.Columns("Select").SetHeaderCheckedState(ugReleases.Rows, CheckState.Unchecked)
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this matter?
Thank you for using Infragistics Components.
CheckState of the header is determine by the corresponding rows collection, so it seem that initially your rows different checked states. So what I could suggest you is to se SetHeaderChekedSate after your grid was populated with data. Another option would be if you handle InitializeRow event and set appropriate cell value to the cells belong to your checkbox column.
Please let me know if you have any further questions.