@@ -797,8 +797,8 @@ information on the `busy` state.
797
797
## Custom data rendering
798
798
799
799
Custom rendering for each data field in a row is possible using either
800
- [ scoped slots] ( http://vuejs.org/v2/guide/components.html#Scoped-Slots ) or formatter callback
801
- function.
800
+ [ scoped slots] ( http://vuejs.org/v2/guide/components.html#Scoped-Slots ) or a formatter callback
801
+ function, or a combination of both .
802
802
803
803
### Scoped field slots
804
804
@@ -888,6 +888,10 @@ The slot's scope variable (`data` in the above sample) will have the following p
888
888
sorting and pagination have been applied to the original table data. The ` index ` value will refer
889
889
to the ** displayed row number** . This number will align with the indexes from the optional
890
890
[ ` v-model ` bound] ( #v-model-binding ) variable.
891
+ - When using the new Vue 2.6 ` v-slot ` syntax, note that slot names ** cannot** contain spaces, and
892
+ when using in-browser DOM templates the slot names will _ always_ be lower cased. To get around
893
+ this, you can pass the slot name using Vue's
894
+ [ dynamic slot names] ( https://vuejs.org/v2/guide/components-slots.html#Dynamic-Slot-Names )
891
895
892
896
#### Displaying raw HTML
893
897
@@ -1089,6 +1093,13 @@ When placing inputs, buttons, selects or links within a `HEAD[...]` or `FOOT[...
1089
1093
are disabled). ` head-clicked ` will never be emitted when clicking on links or buttons inside the
1090
1094
scoped slots (even when disabled)
1091
1095
1096
+ ** Notes:**
1097
+
1098
+ - When using the new Vue 2.6 ` v-slot ` syntax, note that slot names ** cannot** contain spaces, and
1099
+ when using in-browser DOM templates the slot names will _ always_ be lower cased. To get around
1100
+ this, you can pass the slot name using Vue's
1101
+ [ dynamic slot names] ( https://vuejs.org/v2/guide/components-slots.html#Dynamic-Slot-Names )
1102
+
1092
1103
### Adding additional rows to the header
1093
1104
1094
1105
If you wish to add additional rows to the header you may do so via the ` thead-top ` slot. This slot
0 commit comments