← DataGrid API

Type · v2.7.1

NgbGridClipboardResult

Discriminated success/failure results: changedCells or copied text on success; reason and message on failure.

Import

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

Declaration

type NgbGridClipboardResult = { success: true; text: string; } | Extract<NgbGridBatchResult, { success: false; }>;

Referenced types

Source: types/angular-bootstrap-ngbootstrap.d.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.