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
1540
Cell Style Checkbox
posted

Hello,

I have an UltraGrid that has cells with Checkbox Style.

Now, I need to align the checkbox to the left. can I do this?

Thank you.

Maria

  • 469350
    Offline posted

    Hi Maria,

    The grid doesn't have any native support for aligning the checkbox, but you can do this with an editor.

    Here's what you do:

    Put an UltraCheckEditor control on the form.

    Set it's Text to empty.

    Set it's CheckAlign property to whatever alignment you want.

    Set the EditorComponent property on the grid column to the UltraCheckEditor control. You can use a single UltraCheckEditor control for as many columns as you want in the same grid.