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
265
Header Checkbox - Enable Tristate?
posted

Hi,

I have a simple ultragrid bound to a database that countains bit (boolean) columns.

It is a requirement to be able to update all of the values in a row at once from the header, which can be achieved using the Column CheckBox properties:

col.Header.CheckBoxAlignment = HeaderCheckBoxAlignment.Right;
col.Header.CheckBoxSynchronization = RowsCollection;
col.Header.CheckBoxVisibility =
HeaderCheckBoxVisibility.WhenUsingCheckEditor;

I also have the need to be able to set the values to True, False or Null, which can also be achieved using the property:

 

col.Style = Infragistics.Win.UltraWinGrid.

 

ColumnStyle.TriStateCheckBox;

My problem is, that the CheckBoxHeader only allows the user to do a bulk update on the values to either True or False.. (not null)
Is there a way to tell the header checkbox that it is also TriState?

I can't seem to find the property anywhere to do this.

Thanks in advance,

Craig

 

 

Parents Reply Children
No Data