We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridHyperlinkColumn wrap text

Thread ID:





119004 May 3,2015 09:59 PM UTC May 5,2015 06:45 AM UTC WinRT 3
Tags: SfDataGrid
Asked On May 3, 2015 09:59 PM UTC

How can I make "GridHyperlinkColumn" column to wrap text?

Farjana Parveen Ayubb [Syncfusion]
Replied On May 4, 2015 12:48 PM UTC

Hi Vasanth,

Thank you for contacting Syncfusion support.

We analyzed your query. Currently, we don’t have a direct support for TextWrapping in GridHyperlinkColumn in SfDataGrid. But we have prepare the workaround based on your requirement by overriding the GridCellHyperlinkRenderer in SfDataGrid.

Please refer the following code snippet and sample in the following location:

Code Snippet:

public class GridHyperlinkColumnExt : GridCellHyperlinkRenderer


public GridHyperlinkColumnExt()



public override void OnInitializeEditElement(Syncfusion.UI.Xaml.ScrollAxis.RowColumnIndex rowColumnIndex, HyperlinkButton uiElement, GridColumn column, object dataContext)


base.OnInitializeEditElement(rowColumnIndex, uiElement, column, dataContext);

TextBlock textblock = uiElement.Content as TextBlock;

textblock.TextWrapping = Windows.UI.Xaml.TextWrapping.Wrap;



Sample Location: SfDataGridWithHyperLinkColumn.zip


Farjana Parveen A

Replied On May 4, 2015 02:16 PM UTC

Perfect, thanks!

Saranya CJ [Syncfusion]
Replied On May 5, 2015 06:45 AM UTC

Hi Vasanth,

Thank you for your update. Please let us know if you require further assistance on this.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon