Server Table
<div id="people">
<v-server-table url="/people" :columns="columns" :options="options"/>
</div>new Vue({
el: "#people",
data: {
columns: ['id', 'name', 'age'],
options: {
// see the options API
}
}
});All request data is passed in the following GET parameters:
query
limit
page
orderBy
ascending
byColumn
You need to return a JSON object containing two properties:
data:array- An array of row objects with identical keys.count:integer- Total count before limit.
Last updated