← DataGrid API

Function · v2.8.0

ngbParseGridClipboard

TSV with CSV-style quoting; rejects ragged or malformed matrices.

Import

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

Declaration

function ngbParseGridClipboard(text: string): string[][];
Source: src/datagrid/src/batch/clipboard.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.