OBaseTableCellRenderer

OBaseTableCellRenderer

Properties

Name Type Description

column

string

Name of the column

table

OTableComponent

Reference to the component OTableComponent

tableColumn

property

Reference to the component OTableColumnComponent

templateref

TemplateRef

Reference to template

Inputs

Name Since Description Default

filter-source

render | data | both

Indicates whether filter source is by render value, by source data or both

render

filterFunction

(cellValue: any, rowValue: any, quickFilter?: string) => boolean

Callback used to filter cell value in filter by column and quick filter

Methods

getCellData
This default method returns the value of the column as *a string*. This method is used to obtain the value of the column in the exports or filtering, so that if you want to customize the value of the column you must overwrite it.
Returns
string
getFilter
Return the values to filter
Returns
any[]
registerRenderer
Register the renderer on the table