Showing 1 block

advanced table: datatable

A complete data table including filters, sorting, and searchbar.


In pins

Storage
From which storage do you want the data to be loaded
Columns
Choose the columns you want to show
Search Fields (optional)
Fields that will be searched on in addition to the column fields
Filters (optional)
co-hide_controls
Choose the filters you want to expose to the user
Column Render (optional)
Yes
v10.4.46
Choose the columns you want to define your own html for. If a field is used for the action but not selected here it will just show the default value for that action
Row Render (optional)
Accepts a function that returns a row
Query (optional)
Query used as a base for the datatable
Rows Per Page (optional)
30
Number of results per page in the table
Hide controls (optional)
false
Hides the datatable controls (filters button, search bar, pagination).
Hide Search Bar (optional)
false
co-hide_controls
Hides the datatable search bar.
Show reload button (optional)
co-hide_controls
If set to true, the reload button will be shown on the top of the datatable
Minimize filters (optional)
false
co-hide_controls
By default all filters will be visible, setting this to true will minimize the filters on datatable load.
Hide custom filter (optional)
co-hide_controls
If set to true, the custom filter button will be hidden in the datatable
Filter field search scope (optional)
*public
The scope needed for searching through fields in datatable filters.
Inline Edit (optional)
Columns that will be used for inline editing. Only basic text, number or date editing is allowed. For every advanced implementation an extra modal or page should be used.
Inline Edit Scope (optional)
*
The scope needed for inline editing.
Mass inline edit (optional)
Adds a button in the header, onclick will enable the inline edit for all the rows in that column
Remove scope (optional)
*
co-hideremove
Exact scope the user needs to match with to be able to remove items within this datatable.
JSON scope (optional)
*
Scope the user needs to have to be able to view the JSON of a document, Admin is always allowed
Revisions scope (optional)
*
Scope the user needs to have to be able to view the revisions of a document, Admin is always allowed
Hide Checkbox (optional)
If set to true, the checkbox will be removed from the datatable
Hide Remove (optional)
If set to true, the remove button will be removed from the datatable, even for admins
Detail Button (optional)
If given, a detail button will show which runs the connected function on click.
Edit Button (optional)
If given, an edit button will show which runs the connected function on click.
Search Input Outlet (optional)
This makes it possible to prefill an input with the search result or update it via the blueprints when searching in a datatable
No results message (optional)
No results found
If value given, it will show that message when no results are found
On change (optional)
Function will execute every time the content of the datatable changes (on search or on filter).
Show export (optional)
Columns (optional)
Choose the columns you want to show in the export
Export row render (optional)
Accepts a function that returns a row. Only used for the export

Out pins

uicomponent

Groups