TableCell

Individual table cell component that renders a single cell within a table row. Handles rendering of regular data cells and special action columns.

Installation

import { TableCell } from 'uxp/components';

Signature

const TableCell: React.FunctionComponent<TableCellProps>

Examples

tsx
<TableCell
  row={rowData}
  column={columnDef}
  renderCell={(row, col) => <span>{row[col.id]}</span>}
/>

Properties

Name
Type
Mandatory
Default Value
Example Value

row

any

Yes

-

-

column

Yes

-

-

renderCell

(row: any, column: ExtendedColumn) => React.ReactNode

No

-

-

Last updated