← DataGrid API

Directive · v2.7.0

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.

This project is not affiliated with ng-bootstrap or ngx-bootstrap. Those projects focus mainly on Bootstrap components for Angular. ngbootstrap focuses on Angular UI for data-heavy apps, especially Data Grid, Angular-native Form Builder, drag and drop workflows, documentation examples, and performance-focused Angular patterns.