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

TableHead

Expression Extends:

class TableHead extends BaseTableSection(BaseComponent(HTMLTableSectionElement))

A Table head component

See:

Example:

Markup
<thead is="coral-table-head"></thead>
JS constructor
new Coral.Table.Head();

Member Summary

Public Members
public

Whether the table head is sticky.

Public Members

public sticky: Boolean source

Whether the table head is sticky. The table content becomes automatically scrollable if the table wrapper height is smaller than its content. Table exposes the coral-table-scroll attribute that allows in sticky mode to define the table scrolling container max-height. This is particularly useful if the table contains dynamic content.

  • false by default.
  • reflected