Posted 7 June 2021, 8:42 am EST
Hi,
Is is possible to show superlabels in flexgrid cells?
If so, do you have a sample?
Thanks
Best regards
Forums Home / ComponentOne / WinForms Edition
Posted by: fsegui on 7 June 2021, 8:42 am EST
Posted 7 June 2021, 8:42 am EST
Hi,
Is is possible to show superlabels in flexgrid cells?
If so, do you have a sample?
Thanks
Best regards
Posted 8 June 2021, 12:02 am EST
Hi,
You can refer to the product sample “HtmlGrid” located at ```
C:\Users\username\Documents\ComponentOne Samples\WinForms\v4.5.2\FlexGrid\CS\HtmlGrid
It shows how you can use SuperLabel to render the contents of the cells.
Regards.
Avnish
Posted 8 June 2021, 5:39 am EST
Hi
Thanks for your feedback.
Actually, I wanted to add directly the C1SuperLabel object. My objective was to then use the LinkClicked event of the SuperLabel.
Is that possible?
To precise :
In flexgrid cells, I need to add HTML content and possibility for the end user to click on links contained in this HTML content.
Thanks
Posted 8 June 2021, 6:33 am EST
Hi,
You can use the Hosted Controls approach demonstrated in the HostControls sample located at C:\Users\avnish.kumar\Documents\ComponentOne Samples\WinForms\v4.5.2\FlexGrid\CS\HostControls.
Please refer to a modified version of HostControls attached and modify the sample as required.
Regards
Avnish
Posted 8 June 2021, 10:44 am EST
Hi Avnish,
Thanks for your feedback, works fine with your sample. I see the logic and I’ve implemented it with C1SuperLabels.