THyperLinkColumn contains a hyperlink for each item in the column.
You can set the text and the url of the hyperlink by {@link setText Text}
and {@link setNavigateUrl NavigateUrl} properties, respectively.
You can also bind the text and url to specific data field in datasource
by setting {@link setDataTextField DataTextField} and
{@link setDataNavigateUrlField DataNavigateUrlField}.
Both can be formatted before rendering according to the
{@link setDataTextFormatString DataTextFormatString} and
and {@link setDataNavigateUrlFormatString DataNavigateUrlFormatString}
properties, respectively. If both {@link setText Text} and {@link setDataTextField DataTextField}
are present, the latter takes precedence.
The same rule applies to {@link setNavigateUrl NavigateUrl} and
{@link setDataNavigateUrlField DataNavigateUrlField} properties.
The hyperlinks in the column can be accessed by one of the following two methods:
The second method is possible because the hyperlink control created within the
datagrid cell is the first child.
getDataTextField()
публичный Метод
getText()
публичный Метод
setDataTextField()
публичный Метод
setText()
публичный Метод
Sets the text caption of the hyperlink.