Constructor
# <RecordsTableHeader />
Prints `thead` section for table with records.
import { RecordsTableHeader } from 'adminjs'
Example
Type Definitions
object
# RecordsTableHeaderProps
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
titleProperty |
BasePropertyJSON
|
Property which should be treated as a Title Property |
|
properties |
Array.<BasePropertyJSON>
|
All properties which should be presented |
|
sortBy |
string
|
<optional> |
Name of the property which should be marked as currently sorted by |
direction |
'asc'
|
'desc'
|
<optional> |
Sort direction |
onSelectAll |
function
|
<optional> |
Handler function invoked when checkbox is clicked. If given extra column, with checkbox will be rendered |
selectedAll |
boolean
|
<optional> |
Indicates if "bulk" checkbox should be checked |