diff --git a/src/views/treetable/TreeTableSortDemo.vue b/src/views/treetable/TreeTableSortDemo.vue index 2a1048a2e..c9b027b15 100644 --- a/src/views/treetable/TreeTableSortDemo.vue +++ b/src/views/treetable/TreeTableSortDemo.vue @@ -23,6 +23,13 @@ + +

Removable Sort

+ + + + +
@@ -43,6 +50,13 @@ <Column field="size" header="Size" :sortable="true"></Column> <Column field="type" header="Type" :sortable="true"></Column> </TreeTable> + +<h3>Removable Sort</h3> +<TreeTable :value="nodes" sortMode="single" removableSort> + <Column field="name" header="Name" :expander="true" :sortable="true"></Column> + <Column field="size" header="Size" :sortable="true"></Column> + <Column field="type" header="Type" :sortable="true"></Column> +</TreeTable>