Image first column

Posted by: fsegui on 3 January 2022, 4:28 pm EST

    • Post Options:
    • Link

    Posted 3 January 2022, 4:28 pm EST - Updated 3 October 2022, 10:46 pm EST

    Hi,

    I’ve a C1FlexGrid with the following attributes:

    • first column containing images
    • first column width is defined at loading and allowresizing property set to false.

    If I group on this first column, the image moved at the right of the node, thus it’s partially visible.

    Is it possible to keep the image under the node and not move it?

    Thanks

    See gif/sample attached

    GroupHeaderFormat_V3_C1FG_Working.zip

  • Posted 4 January 2022, 1:31 am EST

    Hi,

    You can use the OwnerDrawCell event to achieve the desired behavior. Please refer to the sample attached.

    If you want the image to be offset according to the outline and also be fully visible, you can use the AfterSubtotal event and call the AutoSizeCol for the image col.

    If you have any issues, just let us know.

    Regards

    Avnish

    GroupHeaderFormat_V3_C1FG_Working.zip

  • Posted 4 January 2022, 5:08 am EST

    Hi Avnish,

    Works fine with the ownerdraw event.

    I Won’t use the autosize as I need to keep it with the width defined.

    Regards

    Florent

Need extra support?

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

Learn More

Forum Channels