Hyperlink cells for PFGrid.NET
You can add Hyperlinks with default-display (link) very easily. Just add a
column of type HyperlinkColumn and cells of type HyperlinkCell.
When hovering the
cell with the mouse the Hand-cursor is displayed.
A HyperlinkCell has a Url-property. In the
CellClick-Eventhandler of the column you can
navigate for example to the url in the browser:
void colUrl_CellClick(object sender, Controls.Grid.Events.CellEventArgs e)
{
HyperlinkCell hlCell = e.Cell as HyperlinkCell;
if (hlCell != null)
{
Process.Start(hlCell.Url);
}
}