Data Table
Additional keys:
Additional Keys
Type
Description
Slots Example
"columns": ["name", "title", "slot_name", "button_slot"],
"slots": [{
"html": "<h1>{{model.title}}</h1>",
"slot": "title"
}, {
"html": "<h6>{{model.description}}</h6>",
"slot": "slot_name"
}, {
"html": "<button class=\"btn btn-info\" v-on:click=\"namedAction('myNamedAction'; {row: props.row})\"><i class=\"fa fa-check\"></i> OK</button>",
"slot": "button_slot"
}, {
"html": "{{props.row.productList}}",
"slot": "child_row"
}]Slots
Accessing Data in slots
row
data model
Child Rows
Interacting with the Table (Row Click Actions)
Custom Sorting Functionality
Last updated
Was this helpful?