A styled table made to display a lot of data using pagination.
The state to bind the datatable to. If it is updated, the component will re-render
Choose the columns you want to show
Fields that will be searched on in addition to the column fields
Actions that are specific to the row like edit, detail, json, revision or inline edit
Query used as a base for the datatable
rows per page
Number of results per page in the table
Content to be shown within the headers right-side.
The function can be used to handle data-mapping over all results, for example when you want to get all usernames and the original data only contain user_guids. In this function you'll be able to mass-query the e.g. users storage for such data.
The function will be executed for each row and state pins can be returned to overwrite whats visible.