Skip to main content

Table

This section describes the BfmTableComponent component.

Composition

The BfmTableComponent has no any composition components.

Usage

You need to import it in your module and use it in your template.

bfm-table.component.ts
import { BfmTableComponent } from '@celerofinancas/ui-cash-flow';

@Component({
standalone: true,
selector: 'bfm-table',
imports: [BfmTableComponent],
templateUrl: './bfm-table.component.html',
})
export class CustomBfmTableComponent {}

Then, in your template, you can use the component like this:

bfm-table.component.html
<bfm-table 
[dataSource]="dataSource"
[isValid]="isValid"
[tableColumns]="tableColumns"
(itemSelect)="handleItemSelect($event)"
/>

Inputs

The BfmTableComponent component has the following inputs:

dataSource

List Data Source

TypeDefault
any[][]

isValid

Data Source Valid Control

TypeDefault
booleantrue

tableColumns

Table columns

TypeDefault
string[][]

Events

The BfmTableComponent component has the following events:

itemSelect

On item select

Type
EventEmitter<any>