Refresh and Reset button
Refresh Button
Refresh button emits a refresh event to your application (parent component). You can listen for this event and make ajax call for new data and update rows
data. Table will receive the new data and update the rows with current queries.
Example
Reset button
Reset button resets currently applied sorting, filtering, and global search
queries.
By default reset button is enabled. If you would like to disable reset button, set show_reset_button
to false
in initial config.
Attributes details
Attributes | Description | type | Default |
show_refresh_button | Show/Hide Refresh button | Boolean | true |
show_reset_button | Show/Hide Refresh button. Resets all query (sort, filter, global search) currently applied in the table. | Boolean | true |
Slots
Button text and icons
You can override the text in the refresh & reset buttons with slots refresh-button-text
& reset-button-text.
If you like, you can add icon to the buttons.
Example
Last updated