Skip to main content
100%

vuejs finder, a viewModel for a simple searchable table with filtering

✓ Published0🌍 Public
Aandrewfulrich
Last edited May 6, 2017
Created on May 6, 2017

This example demonstrates a searchable, paginated table with live filtering, where users navigate through results and adjust page size through a Vue-driven interface. The viewModel initializes with a Vue instance and uses custom methods like `previousPage`, `nextPage`, `changeLimit`, and `refilter` to manage state. It fetches data via an AJAX helper (`ajaxIt.get`) from an API endpoint, sending query parameters for limit, offset, and filter fields. Responses update Vue properties such as `result`, `rowCount`, and `offsetPlusLimit`, enabling reactive display of the table’s current page and total record count.

AI-generated description

Similar vizzes