Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
310
ultrawingrid header checkbox sets RowSelector to show in EditMode
posted

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.

Parents
No Data
Reply
  • 71886
    Suggested Answer
    Offline posted

    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.

     

Children