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
4160
Trouble using embedded editors
posted

Hello

The following code is supposed to place an editor control of type UltraNumericEditor on the single node that it has. However, it does not work. 

Can you please tell what is wrong?

Thanks a lot. 

 

    With Me.UltraTree1
            .ViewStyle = Infragistics.Win.UltraWinTree.ViewStyle.OutlookExpress
            With .ColumnSettings
                .RootColumnSet.Columns.Add("TestColumn")
                .AutoFitColumns = Infragistics.Win.UltraWinTree.AutoFitColumns.ResizeAllColumns
            End With
            With .Override
                .ShowEditorButtons = Infragistics.Win.UltraWinTree.ShowEditorButtons.Always
                .EditorControl = UltraNumericEditor1
            End With
            With .Nodes
                .Add("FirstNode")
            End With
     End With

Parents
  • 69832
    Offline posted

    When running under the OutlookExpress view style, you must assign the editor provider to the EditorControl property of the column in which you want the editor to display.

    Example:

    this.tree.ColumnSettings.RootColumnSet.Columns["EditorColumn"].EditorControl = this.ultraNumericEditor;

Reply Children