Any aria-* attribute is forwarded to the rendered element.
Optional UnreviewedclassAdds CSS classes to the root element and preserves its existing classes.
Optional UnreviewedstyleInline CSS styles on the root element.
Optional UnreviewedchildrenContent to render in place of any default content.
Optional UnreviewedidHTML id attribute.
Optional UnreviewedtitleHTML title attribute, shown as a browser tooltip on hover.
Optional UnreviewedslotNamed slot in a parent web component, such as slot="header" in a <Dialog>.
Optional UnreviewedtabTab order. Set to -1 to skip the element when tabbing.
Optional UnreviewedkeyReact/Preact reconciliation key when rendered inside a list. Consumed by the JSX runtime (not forwarded as a DOM attribute).
UnrevieweddataThe rows: an array, or a range source that builds rows on demand. Rows are objects; each key is a column.
Optional UnreviewedcolumnsColumn settings by key. When set, these are the columns, in this order; otherwise the keys of the first rows.
Optional UnreviewedvirtualizerRenders the rows. Pass VirtualScroll from @antadesign/virtual-scroll
to mount only the rows near the viewport. Without it, every row is
mounted in a native scroll container.
OptionalvirtualizerOptional UnreviewedheightFrame height in pixels, or auto to fit every row. The frame is the bordered header and rows; the toolbar and
row count are outside it. Fewer rows than fill height shrink the frame to them, so it never leaves a gap.
OptionalminOptionalmaxOptional UnreviewedminRows the frame fits before its container asks for more.
Optional UnreviewedwidthFrame width in pixels. Defaults to the width of the container.
OptionalmaxOptional UnreviewedheaderOptionalhideOptional UnreviewedhideHides the row count below the frame. false shows it.
Optional UnreviewedrowMinimum row height, without its border.
Optional UnreviewedrowRows taller than this are clipped.
Optional UnreviewedrowEvery row is rowMinHeight tall; cell text does not wrap.
OptionalrowOptional UnreviewedbordersRow and column borders.
OptionalonOptional UnreviewedselectedSelected rows, by index in data. Pair with onSelectChange.
Optional UnreviewedonTurns on selection. Receives the whole new selection on every row click,
and [] with a null index on Escape. Click selects one row; Ctrl or
Cmd + click toggles a row; Shift + click selects a range; Ctrl or Cmd +
Shift + click adds a range.
Optional Unreviewedfilteringfalse removes the text filter and the facets. A function replaces the built-in filter.
Optional UnreviewedfilterFacets for the Filter menu. Defaults to one per column whose values are primitives.
Optional UnreviewedmaxInferred facets skip columns with more distinct values than this in their first 500 rows. Defaults to 100.
Does not limit filterOptions.
Optional UnreviewedfilterMore facets, such as custom ones. Only a filtering function sees their values.
Optional UnreviewedfilterControlled filter state.
OptionaldefaultOptionalonOptional UnreviewedtextColumns the text filter searches. Defaults to every column with primitive values.
Optional UnreviewedtextOptional UnreviewedsearchingThe search field, which marks matches in cells and steps through them.
OptionaldefaultOptional UnreviewedsortingControlled sort order.
OptionaldefaultOptionalonOptional UnreviewedcolumnThe Columns menu, which hides and shows columns.
Optional UnrevieweddefaultColumns hidden on mount, by key.
Optional UnreviewedexpandThe Expand action, which fills the viewport with the table.
Optional UnrevieweddownloadThe Download menu, or its options.
Optional UnrevieweddataThe rows are placeholders for data still arriving: controls that act on rows are disabled.
Optional UnreviewedfollowStart at the last row and keep it in view as rows are appended.
Optional UnreviewedonFires with the size of the space the table occupies when it is measured or resized.
Optional UnreviewedemptyShown when there are no rows.
Any
data-*attribute is forwarded to the rendered element.