Skip to content

Interface: TableCellProps#

Renderer.Component.TableCellProps

Hierarchy#

  • DOMAttributes<HTMLDivElement>

TableCellProps

Table of contents#

Properties#

Methods#

Properties#

_nowrap#

Optional _nowrap: boolean

indicator, might come from parent , don't use this prop outside (!)


_sorting#

Optional _sorting: Partial<TableSortParams>


checkbox#

Optional checkbox: boolean

render cell with a checkbox


className#

Optional className: string

Any css class names for this table cell. Only used if title is a "simple" react node


data-testid#

Optional data-testid: string

For passing in the testid


id#

Optional id: string

used for configuration visibility of columns


isChecked#

Optional isChecked: boolean

mark checkbox as checked or not


scrollable#

Optional scrollable: boolean

content inside could be scrolled


showWithColumn#

Optional showWithColumn: string

id of the column which follow same visibility rules


sortBy#

Optional sortBy: string

column name, must be same as key in sortable object


title#

Optional title: ReactNode

The actual value of the cell

Methods#

_sort#

Optional _sort(sortBy): void

Parameters#

Name Type
sortBy string

Returns#

void