<< Click to Display Table of Contents >>

 

A hyperlink column allows you to display hyperlinks in the Grid dashboard item.

GridHyperLinkColumn_Example_Win

You can provide hyperlinks as a separate data column. or they can be automatically created at run-time from any column using the specified URI pattern.

In this document, the sample data source contains four fields: country name, official country name, Wikipedia country page's URI and the GDP value.

GridHyperLinkColumn_UnderlyingDataSource

The following sections describe how to create hyperlink columns in more detail:

Data Field Containing Uri Values

Uri Pattern

Drag the Name data field from the Data Source tree view to the column's data item container. The data field is automatically processed as dimension. Drag and drop the GDP data field to another column's data item container. The data field is recognized as measure and summarized.

GridHyperLinkColumn_InitialGrid

Drop the Link field between the Name and the GDP (Sum) data items. The Grid recognizes this field as dimension and displays links as plain text.

GridHyperLinkColumn_HyperlinkAsText

Click the Column Type Indicator button next to the Name data item and change its type to Hyperlink.

GridHyperlinkColumn_column_options

The Grid displays column values as clickable hyperlinks allowing you to navigate to the Wiki's pages.

GridHyperLinkColumn_HyperlinkAsLink

You can bind the Display value and URI value to different data fields. Click the New Column data item placeholder and change its type to Hyperlink.

GridHyperlinkColumn_hyperlinkandurifromdata

Drag and drop the OfficialName field to the Display Value data item placeholder to display official country names. Drag and drop the Link field to the Uri data item placeholder to specify URIs.

The grid displays official country names with links obtained from the Link data source field.

GridHyperLinkColumn_HyperlinkWithDisplayText

In this case, a specified URI pattern is used to generate links.

Drag the Name data field from the Data Source tree view to the column's data item container. The data field is automatically processed as dimension. Drag and drop the GDP data field to another column's data item container. The data field is recognized as measure and summarized.

GridHyperLinkColumn_InitialGrid

Click the Column Type Indicator button next to the Name data item and change its type to Hyperlink. Specify the URI Pattern option as follows:

https://en.wikipedia.org/wiki/{0}

GridHyperLinkColumn_ColumnOptionsDialog

The {0} placeholder is replaced with the Name data item value. The links are generated for country names and displayed in the grid as illustrated in the following picture.

GridHyperLinkColumn_UriPatternLink