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
615
How to use a custom button in a button style column in grid.
posted

I want to use my own customized UltraButton in a button sytle column in a grid, how to do that? I've tried with an EditorComponent but then the button doesn't respect the ButtonDisplayStyle = OnMouseEnter.  The button should appear only on mouse enter event.

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    UltraButton is not an editor, so there's no way to embed an UltraButton in a grid cell, except to use the UltraControlContainerEditor.

    UltraControlContainerEditor displays cells that are not in edit mode using an image. So there's no way to support the ButtonDisplayStyle. Basically the grid has no way of knowing that the control you are using in the UltraControlContainerEditor is a button.

    What kind of customizations have you made to the UltraButton that you want to carry over to the grid? You might be able to achieve what you want using Appearances, or maybe a CreationFilter or DrawFilter.

Children