Hi,
i like to have a link in my text-cell.
e.g. in the cell is the text " You can get information from https://www.ecb.de" and then the https://www.ecb.de should be highlighted as a link. (like in this forum..)
How can i get this? Thank you.
I don't want the whole column to be style=url!
Thanks
Hello Judith,
FormattedText-style cells are like labels. They are not editable. You cannot select the text from inside the cell, because it's a label that never goes into edit mode. You can either use FormattedTextEditor Column style to allow editing. Or use AllowMultiCellOperations to allow copying the cell's contents when the cell is selected. For example:// Turn on all of the Cut, Copy, and Paste functionality. e.Layout.Override.AllowMultiCellOperations = AllowMultiCellOperation.All;
Please let me know if you have any questions.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
Thank you. Yes, I tried this already.
My next problem is that users can not copy the text from this column because style=formatted. If it is not, they could select the text an copy it. I need this functionality. Why is it not possible?
I’m glad that you are able to use the above solution. For the vbcr not showing up issue, you can replace it with the <br> tag.
Please let me know if I may be of further assistance.
Thanks. Now i have the style=formatted and paste <a href...> in the intialilzeRow. That works.
But now my vbcr are not shown. How can this work again?
To achieve this, you can refer to the below link where how to add a hyperlink in UltraGridCell is previously demonstrated:
https://es.infragistics.com/community/forums/t/38864.aspx
In above suggested approach the column Style is set to Formatted and not url and as a result entire column will not show up as URL column. The< a href> tag only makes part of the cell text as hyperlink. If you cannot use <a href> tag like suggested then please elaborate why you cannot use it. This information will help us in suggesting an alternative for this issue.
I’m looking forward to hearing from you.