ShowCellLabels in C1FlexGrid -

Posted by: mike on 8 October 2019, 9:14 am EST

    • Post Options:
    • Link

    Posted 8 October 2019, 9:14 am EST

    Is there any way to control the color of the tooltips that pop up?

  • Posted 9 October 2019, 3:20 am EST

    Hi Mike,

    basically, it should be possible. It seems the grid uses a label to display the tooltip. But unfortunately, this is all internal API.

    Attached is a sample which shows a proof of concept. I used ILSpy to analyze the C1FlexGrid internals. The sample makes heavy use of reflection, and I have to access a property which has an obfuscated name - thus the sample might not work with other versions than .382.

    Maybe the C1 guys can add some public API to access the tooltip control.

    FlexCellLabel.zip

    Best regards

    Wolfgang

  • Posted 9 October 2019, 6:48 am EST

    Hello,

    The solution suggested by @Wolfgang seems to be the only solution for now because it is directly not possible to access that tooltip.

    @Wolfgang, thank you for the explanation and the sample.

    Regards,

    Prabhat Sharma.

  • Posted 10 October 2019, 12:30 am EST

    Thanks lots. Will use that for now, stuck in exception handling in case it breaks on later versions.

Need extra support?

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

Learn More

Forum Channels