Skip to main content

<DataTable/>

datatable

<DataTable
data={data.query_name}
/>

Required Props#

  • data - query name, referenced as a subset of Evidence's data object

Optional Props#

  • rows - # of rows to show in the table before paginating results. Default is 5 rows
  • rowNumbers - turn index number column of table on or off. Default is on. Turn off with rowNumbers=false
  • rowLines - turn table row borders on or off. Default is on. Turn off with rowLines=false

Formatting#

Formatting is automatically applied based on the column names of your SQL query result. See the formatting section for more details.

note

Evidence's component tags need to be closed using /> (same as HTML tags)