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
1560
UltraTree CheckBoxTriState
posted

 With  ViewStyle to Grid, is it possible to have the CheckBox column to have a CheckBoxTriState ???

Parents
No Data
Reply
  • 69832
    Offline posted

    CheckEditor checkEditor = new CheckEditor();
    checkEditor.ThreeState = true;
    column.Editor = checkEditor;

    Note that the data type for the bound column must be able to support null values, because the editor returns a value of DbNull.Value when the CheckState is Indeterminate. The exception to this rule is when the bound data type is System.Windows.Forms.CheckState, in which case it returns CheckState.Indeterminate.

Children
No Data