← DataGrid API

Directive · v2.6.0

NgbGridUndoToolDirective

Native button with application-owned text, icons, classes and accessible label.

Import

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

Selector:button[ngbGridUndoTool]

Declaration

class NgbGridUndoToolDirective extends NgbGridHistoryTool

Inputs

disabled

Application restriction, combined with the history stack's availability.

disabled: boolean

Outputs

historyResult

Customize announcements, error presentation or analytics without replaying the action.

historyResult: EventEmitter<NgbDataGridHistoryResult>

Properties

shortcuts

get shortcuts(): string | null

type

readonly type = "button"

secondaryClass

readonly secondaryClass = true

toolClass

readonly toolClass = true

unavailable

get unavailable(): boolean

busy

get busy(): boolean

Methods

activate

activate(): Promise<void>

Referenced types

Source: src/datagrid/src/views/datagrid-history-tool.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.