DataTable get values
Hey guys, I need some help with DataTable.
I have a problem with going from page with data table and comming back again, the datatable will go back to initial page (page one). I would like to save current page and have it stay like that, same with the search input.
How could I get a value from search box, or pagination number (page 4 for example)?
benoitranque last edited by
Data table with async backend data (data is loaded from backend on each time a the user navigates to a new datatable page) is coming in v0.15 which will be out this month
Ok, that sounds good What about current DataTable, is there a way to get value from search box?
benoitranque last edited by benoitranque
This gets you the data
// add ref="table" to q-data-table element console.log(this.$refs.table.$data._pagination.page) console.log(this.$refs.table.$data.filtering.terms)