View Flexgrid Large Text

Posted by: maximusdebois on 6 October 2021, 3:03 am EST

    • Post Options:
    • Link

    Posted 6 October 2021, 3:03 am EST - Updated 3 October 2022, 10:57 pm EST

    I am working on a data and am using flexgrid. One of my columns consist of large data which cannot fit into the width of a flexgrid column. I am working for a way to view the content of this large data like the one in the image below.

  • Posted 6 October 2021, 5:27 am EST

    Hi,

    You can set the ShowCellLabels property of the C1FlexGrid to true to display labels over cells whose contents are partially hidden.

    Documentation: https://www.grapecity.com/componentone/docs/win/online-flexgrid/C1.Win.C1FlexGrid.4.5.2~C1.Win.C1FlexGrid.C1FlexGrid~ShowCellLabels.html

    Regards

    Avnish

  • Posted 6 October 2021, 3:46 pm EST

    Thanks it is working but the large text appears in one line irrespective of the length. I want the content to be in multi line like the image above

  • Posted 7 October 2021, 2:47 am EST

    Hi,

    You can use the C1Supertooltip and show the tooltip on the cells which have larger content than the area available. You can handle the MouseMove event of the flexgrid to set the tooltip and the popup event of the C1Supertooltip to set the location and maximum width of the tooltip.

    Please refer to the sample attached.

    Regards

    Avnish

    CustomTooltip.zip

Need extra support?

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

Learn More

Forum Channels