Reference Source
import {Table} from '@adobe/coral-spectrum'
public class | source

TableCell

Expression Extends:

class TableCell extends BaseComponent(HTMLTableCellElement)

A Table cell component

See:

Example:

Markup
<td is="coral-table-cell"></td>
JS constructor
new Coral.Table.Cell();

Member Summary

Public Members
public

content: *

null

public

id: *

public

Whether the table cell is selected.

public

The cell's value. It is used to compare cells during a column sort. If not set, the sorting will be performed on the cell content. The content will be parse accordingly based on the column's sortabletype property.

Public Members

public content: * source

null

public id: * source

public selected: Boolean source

Whether the table cell is selected.

  • false by default.
  • reflected

public value: String source

The cell's value. It is used to compare cells during a column sort. If not set, the sorting will be performed on the cell content. The content will be parse accordingly based on the column's sortabletype property.

  • "" by default.
  • reflected