Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
640
Url in text cell
posted

Hi, i have cells with text, where some URLs could be in the text.

Is it possible that the URLs behave like URLs? (Highlight, underline, click on it opens the browser or just an Event is fired so that i can open by code the browser?)

(I can't use style=URL because there shoud be other text also before and after the URL.... and also: style=URL is not editable)

Thank you so much.

  • 21795
    Offline posted

    Hello Judith,

    Yes, you can add a hyperlink in the text of an UltraGrid’s cell. What you need to do is add UltraFormattedLinkLabel to your application. Then set the EditorComponent property of the grid’s column to point to this control. Finally you should set the Value of the cell as formatted text as shown in this article in our documentation “Formatting Text and Hyperlinks”. You can also follow the next link where is shown how to add a link to a cell in UltraGrid – “Adding a Hyperlink to a Cell in WinGrid”.

    Please let me know if you have any further questions on this matter.