← DataGrid API

Directive · v2.6.0

NgbCellTemplate

NgbCellTemplate directive exported by the ngbootstrap package API.

Import

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

Selector:ng-template[ngbCell]

Declaration

class NgbCellTemplate<T = any>

Inputs

ngbCell

field: string

Properties

template

readonly template: TemplateRef<CellCtx<T>>

Referenced types

Source: src/datagrid/src/directives/datagrid-templates.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.