FrontendAPIInterface
Properties
list
list:
object
clearFilters()
Clear all filters from the list
Returns
void
closeThreeDotsDropdown()
Close the three dots dropdown
Returns
void
refresh()
Full refresh the list. Loader will be shown during fetching data. Will fully reload table data from the server. If new data available, it will be shown in the list.
Returns
Promise
<object
>
error?
optional
error:string
setFilter()
Set a filter in the list Works only when user located on the list page. Can be used to set filter from charts or other components in pageInjections.
Example:
import adminforth from '@/adminforth'
adminforth.list.setFilter({field: 'name', operator: 'ilike', value: 'john'})