Vue.use(VueTables.client, {
perPage: 25
})
new Vue({
el: "#vue-tables-options",
data: {
columns: ['option', 'type', 'description', 'default'],
data: [
{
option:'columnsClasses',
type:'Object',
description:'Add class(es) to the specified columns. Takes key-value pairs, where the key is the column name and the value is a string of space-separated classes',
default:'<code>{}</code>'
},
{
option:'multiSorting (client-side)',
type:'Object',
description:'See docomentation',
default:'<code>{}</code>'
},
{
option:'serverMultiSorting',
type:'Boolean',
description:'Enable multiple columns sorting using Shift + Click on the server component',
default:'<code>false</code>'
},
{
option:'clientMultiSorting',
type:'Boolean',
description:'Enable multiple columns sorting using Shift + Click on the client component',
default:'<code>true</code>'
},
{
option:'requestAdapter (server-side)',
type:'Function',
description:'Set a custom request format',
default:'<code>function(data) { return data; }</code>'
},
{
option:'saveState',
type:'Boolean',
description:'Constantly save table state and reload it each time the component mounts. When setting it to true, use the `name` prop to set an identifier for the table',
default:'<code>false</code>'
},
{
option:'storage',
type:'String',
description:'Which persistance mechanism should be used when saveState is set to true: `local` - localStorage. `session` - sessionStorage',
default:'<code>local</code>'
},
{
option:'customSorting',
type:'Object',
description:'See documentation',
default:'<code>{}</code>'
},
{
option:'highlightMatches',
type:'Boolean',
description:'Highlight matches',
default:'<code>false</code>'
},
{
option: 'childRow',
type: 'Function',
description:...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.