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
85
UltraNumbericEditor used by grid
posted

Is there a way for the UltraNumericEditor to be used by a cell and or column in a grid as the editor?  I get a cast exception when trying to cast UltraNumericeEditor to a EmbeddableEditorBase.

Parents
No Data
Reply
  • 37774
    posted

     Use the EditorControl property of the Column/Cell instead of the Editor property.  The control itself does not derive from EmbeddableEditorBase, but rather uses the editor within its own bounds to perform the relevant logic.  When you set the control as the EditorControl, the editor that the control is using will be cloned and used as the editor for the Column/Cell.

    -Matt 

Children
No Data