I have a UltraWinGrid with a column of type boolen. For this column's header, the CheckboxVisibility is set to always.
When the column header's checkbox is checked or unchecked, the control performs as as expected; that is, the checkbox in each row is changed. In addition to changing the checked value of each row, each row's RowSelector displays the in EditMode icon (the pencil followed by "...").
Is there a way to take the rows out of edit mode when the header checkbox is used? The grid is used as a selection checklist and it looks a bit strange to have every row in EditMode.
Ah, thanks! Works like a charm.
I was looking for property to set but an event works too
You don't need to loop through the rows, you can achieve the same effect with one line of code:
this.ultraGrid1.UpdateData();
Hello Jake,
Could you please try out the following code sample in order to solve this:
void ultraGrid1_AfterHeaderCheckStateChanged(object sender, Infragistics.Win.UltraWinGrid.AfterHeaderCheckStateChangedEventArgs e) { foreach (UltraGridRow row in ultraGrid1.Rows) { row.Update(); } }
Please feel free to let me know if a question about our toolset comes up on your mind.