C1 FlexGrid show HTML content with clickable hyper link

Posted by: woondyi.yap on 12 February 2019, 2:03 am EST

  • Posted 12 February 2019, 2:03 am EST - Updated 3 October 2022, 4:31 pm EST

    Hi,

    I would like the cursor to show ‘hand’ icon when hover the hyperlink in C1FlexGrid.

    The hyperlink should navigate to the page once clicked.

    How can I achieve this?

    Kindly refer to the image and zip file attached for clearer picture.

    SampleTestingProgram.zip

  • Posted 12 February 2019, 7:42 pm EST

    Hello,

    We have a product sample Hyperlink installed at \Documents\ComponentOne Samples\WinForms\C1FlexGrid\VB location. The sample demonstrates how to add hyperlinks in FlexGrid column, change cursor for hyperlink and navigate to the URL when clicked. Therefore, we’d suggest you to refer the same to meet your requirements.

    Thanks,

    Ruchir

  • Posted 13 February 2019, 12:55 pm EST

    Hi Ruchir,

    I have look into the Hyperlink sample but it does not support HTML tag such as ‘’, and .

    Therefore, I am trying to use the HtmlGrid sample that I provided in attachment.

    But it does not show the ‘hand’ cursor when I hover the link inside C1FlexGrid.

    Regards,

    Yap

  • Posted 14 February 2019, 12:34 am EST

    Hello Yap,

    As I understand, I might not be possible/feasible to get the location of href label and change its cursor using a single control. However, I am confirming the same with the developer[ID:367201].

    Mean-while, I would suggest you to use two different controls (one for styled text and other for hyperlink), merge these two controls into one and then use it as Editor. This way, you could change the Cursor of the control containing hyperlink value.

    Thanks,

    Ruchir

Need extra support?

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

Learn More

Forum Channels