← DataGrid API

Directive · v2.7.1

NgbDatagridControlDirective

NgbDatagridControlDirective directive exported by the ngbootstrap package API.

Import

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

Selector:input[ngbDatagridControl], select[ngbDatagridControl], textarea[ngbDatagridControl]

Declaration

Inputs

ngbDatagridControlMode

ngbDatagridControlMode: 'filter' | 'edit'

Default:'filter'

Properties

filterClass

get filterClass(): boolean

editClass

get editClass(): boolean
Source: src/datagrid/src/foundation/datagrid-control.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.