C1FlexGrid ToolTip

Posted by: s.wortmann on 11 August 2025, 2:18 am EST

    • Post Options:
    • Link

    Posted 11 August 2025, 2:18 am EST

    Hello.

    I wonder if it is possible to link a tooltip only to a single column.

    Example: Once you reach column 4, a tooltip with general information about this column should appear.

    If you have any ideas or solutions, it would be great if you could share them with me.

    Thank you in advance and have a nice day.

  • Posted 11 August 2025, 9:10 am EST

    Hi,

    I attach a sample of a small component that I created some time ago for our apps: The class “FlexGridToolTipRequester” allows to show individual tooltips per cell. The tooltips are shown after a small delay.

    FlexGridToolTipRequester.zip

    To use it: in designer, add the component “FlexGridToolTipRequester” and set the property “ControlForTooltip” to your flexgrid.

    Then handle the event “ToolTipRequest” and define your tooltip.

    The “e.Hint” property is used to define distinct tooltips. In my sample, I use set a “CellRange” object as “Hint” so that it considers all cursor positions inside the same cell to have the same tooltip - thus is is not reshown whenever you move the mouse inside the same cell.

    Bu as you want to set column tooltips, you might write the column index to “e.Hint”.

    Hope this helps

    Wolfgang

  • Posted 12 August 2025, 12:55 am EST

    Hello,

    You can refer to Wolfgang’s solution; it’s correct and works as per your requirement.

    Thank you, Wolfgang, for your input.

    Regards,

    Uttkarsh.

  • Posted 14 August 2025, 3:05 am EST

    I added the sample to my “C1FlexGridEnhancements” collection: https://github.com/WolfgangHG/C1FlexGridEnhancements/tree/main/C1FlexGridToolTipRequester

Need extra support?

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

Learn More

Forum Channels