Skip to main content

Function: renderToolbar()

renderToolbar<Row>(table, labels?): string

Defined in: packages/sdvtables/src/html/interactive.ts:64

Global search box, then one filter input per shown filterable column, each with a visually hidden <label> naming the column by its shown header text. value is written last (React's attribute order). labels defaults to a render of the table's current page; pass renderParts(…).labels when you already have one.

Type Parameters​

Row​

Row

Parameters​

table​

Table<Row>

labels?​

ReadonlyMap<string, string> = ...

Returns​

string