← DataGrid API

Directive · v2.7.1

NgbDatagridButtonDirective

NgbDatagridButtonDirective directive exported by the ngbootstrap package API.

Import

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

Selector:button[ngbDatagridButton], a[ngbDatagridButton]

Declaration

Inputs

ngbDatagridButton

Default:'secondary'

Properties

toolbarButtonClass

get toolbarButtonClass(): boolean

toolbarPrimary

get toolbarPrimary(): boolean

toolbarSecondary

get toolbarSecondary(): boolean

rowActionClass

get rowActionClass(): boolean

rowSuccess

get rowSuccess(): boolean

rowDanger

get rowDanger(): boolean

rowNeutral

get rowNeutral(): boolean

iconButtonClass

get iconButtonClass(): boolean

Referenced types

Source: src/datagrid/src/foundation/datagrid-button.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.