LinkControl
A hyperlink (external URL, mailto:, internal drill-through, etc.).
TypeScript
export interface LinkControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData,Extends
BaseControl<TData, CTX>
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| href | ValueOrFunction<string, CTX> | The link target - static string or a function of the context. | |
| target | '_blank' | '_self' | Where to open the link | '_self' |
| type | 'link' | Discriminator. Set to 'link'. |
Property Details
href
The link target - static string or a function of the context.
TypeScript
href: ValueOrFunction<string, CTX>;Property Value
ValueOrFunction<string, CTX>
target
Where to open the link
TypeScript
target?: '_blank' | '_self';Default Value
'_self'
Property Value
'_blank' | '_self'
type
Discriminator. Set to 'link'.
TypeScript
type: 'link';Property Value
'link'