Old C1TrueDBGrid ver 2.0.nnn, C1DisplayColumn.Button, resize

Posted by: aleksej-luchkin on 24 November 2020, 11:03 pm EST

  • Posted 24 November 2020, 11:03 pm EST

    How do I change the height of the button to be equal to the row height?

    e.Column.Button = true;


  • Replied 27 November 2020, 7:16 pm EST

    Hi,

    I am discussing this issue with the devs and will let you know as soon as there is an update. In the meantime, you can use the attached workaround which manually adds a button onto the grid and updates its position and visibility according to the current cell and size.
    [Internal Tracking ID: 23951]

    I would recommend you to upgrade to the latest version controls from the 2.0 version since it has been in maintenance mode for a long time.
    Please follow this link for more information:
    https://www.grapecity.com/forums/winforms-edition/net-40-and-20-support-noti_1

    Regards,
    Prabhat Sharma.
    WorkAround.zip
  • Replied 26 November 2020, 9:57 pm EST

    I tried adding a button, unfortunately it then hides part of the cell editor. And with a large size of the entered text, it becomes noticeable
  • Replied 27 November 2020, 7:16 pm EST

    Hi,

    Sorry for the inconvenience.
    Please find the sample attached.
    file-aada847c-9599-44e0-a8bd-a8a09b379df7.zip
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels