You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(table): Split computedItems into multiple functions (#1893)
* feat(table): Split computedItems into multiple functions
Don't do all the processing in one function so external users (parent) can
grab the items at various stages without having to reproduce all the
filtering/sorting/pagination logic.
For example a parent may want to have access to the filtered and sorted,
but not yet paginated set of items. With the split functions it can now
do something like this:
const table = this.$refs.the-table
let items = table.hasProvider ? table.localItems : table.items
items = table.sortItems(table.filterItems(items))
This patch incorporates no functional changes.
0 commit comments