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
100
Checkbox with Text into a Cell
posted

Hello,

I need to put a checkbox and a label into a cell of UltraWinGrid, or a Checkbox with Text. How can I do that?

Now I'm using two columns, but it doesn't look natural.

Thanks,

Victor

Parents
  • 21795
    Verified Answer
    Offline posted

    Hello Victor,

    Thank you for posting in our forum.

    In order to display a check box with text in UltraGrid cell you may use UltraCheckEditor. What you need to do is to set the column type to bool and to set the column’s EditorComponent property to an instance of UltraCheckEditor.

    Please note to get the check state of the checkbox you need to check the UltraGrid’s cell value/text property.

    Please find attached a small sample solution implementing this approach.

    Please let me know if this this is what you are looking for or if I am missing something.

    CAS-149761-P2R3N6.zip
Reply Children