From 53dab14b880957e72bd6dc89db4e0f0df610f725 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Thu, 26 Sep 2024 12:00:05 +0300 Subject: [PATCH] Add new row selection demo --- .../rowselection/ColumnRowSelectionDoc.vue | 143 ++++++++++++++++++ apps/showcase/pages/datatable/index.vue | 6 + 2 files changed, 149 insertions(+) create mode 100644 apps/showcase/doc/datatable/rowselection/ColumnRowSelectionDoc.vue diff --git a/apps/showcase/doc/datatable/rowselection/ColumnRowSelectionDoc.vue b/apps/showcase/doc/datatable/rowselection/ColumnRowSelectionDoc.vue new file mode 100644 index 000000000..146248892 --- /dev/null +++ b/apps/showcase/doc/datatable/rowselection/ColumnRowSelectionDoc.vue @@ -0,0 +1,143 @@ + + + diff --git a/apps/showcase/pages/datatable/index.vue b/apps/showcase/pages/datatable/index.vue index 34eef58dd..ff4f75433 100755 --- a/apps/showcase/pages/datatable/index.vue +++ b/apps/showcase/pages/datatable/index.vue @@ -41,6 +41,7 @@ import ExpandableRowGroupDoc from '@/doc/datatable/rowgroup/ExpandableRowGroupDo import RowSpanRowGroupDoc from '@/doc/datatable/rowgroup/RowSpanRowGroupDoc.vue'; import SubHeaderRowGroupDoc from '@/doc/datatable/rowgroup/SubHeaderRowGroupDoc.vue'; import CheckboxRowSelectionDoc from '@/doc/datatable/rowselection/CheckboxRowSelectionDoc.vue'; +import ColumnRowSelectionDoc from '@/doc/datatable/rowselection/ColumnRowSelectionDoc.vue'; import MultipleRowsSelectionDoc from '@/doc/datatable/rowselection/MultipleRowsSelectionDoc.vue'; import RadioButtonRowSelectionDoc from '@/doc/datatable/rowselection/RadioButtonRowSelectionDoc.vue'; import RowSelectEventsDoc from '@/doc/datatable/rowselection/RowSelectEventsDoc.vue'; @@ -181,6 +182,11 @@ export default { label: 'Checkbox', component: CheckboxRowSelectionDoc }, + { + id: 'column_row_selection', + label: 'Column', + component: ColumnRowSelectionDoc + }, { id: 'row_selection_events', label: 'Events',