diff --git a/packages/docs/src/examples/v-data-table/slot-item-data-table-select.vue b/packages/docs/src/examples/v-data-table/slot-item-data-table-select.vue new file mode 100644 index 00000000000..f4dd178256b --- /dev/null +++ b/packages/docs/src/examples/v-data-table/slot-item-data-table-select.vue @@ -0,0 +1,200 @@ + + + + + diff --git a/packages/docs/src/pages/en/components/data-tables/data-and-display.md b/packages/docs/src/pages/en/components/data-tables/data-and-display.md index b76e817ea9e..4f024946ad1 100644 --- a/packages/docs/src/pages/en/components/data-tables/data-and-display.md +++ b/packages/docs/src/pages/en/components/data-tables/data-and-display.md @@ -80,6 +80,12 @@ Use the **item-selectable** prop to designate a property on your items that cont +### Custom select column + +Use the **item.data-table-select** slot alongside `v-checkbox-btn` to customize the checkbox used for row selection. You can also use the **header.data-table-select** slot to customize the select-all checkbox in the header of the column. + + + ### Select strategies Data-tables support three different select strategies.