← DataGrid API

Directive · v2.7.1

NgbGridHighlightDirective

NgbGridHighlightDirective directive exported by the ngbootstrap package API.

Import

import { NgbGridHighlightDirective } from '@angular-bootstrap/ngbootstrap';

Selector:[ngbGridHighlight]

Declaration

class NgbGridHighlightDirective implements OnInit, OnChanges

Inputs

ngbGridHighlight

rowKey?: string | RowKeyFn

highlightColumnIndex

highlightColumnIndex?: string | ColKeyFn

highlightedIndex

highlightedIndex: HighlightItem[]

Default:[]

Referenced types

Source: src/datagrid/src/datagrid/directives/grid-highlight.directive.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.