Demo for removableSort
parent
45d62fdbae
commit
674c9098e3
|
@ -23,6 +23,13 @@
|
||||||
<Column field="size" header="Size" :sortable="true"></Column>
|
<Column field="size" header="Size" :sortable="true"></Column>
|
||||||
<Column field="type" header="Type" :sortable="true"></Column>
|
<Column field="type" header="Type" :sortable="true"></Column>
|
||||||
</TreeTable>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content-section documentation">
|
<div class="content-section documentation">
|
||||||
|
@ -43,6 +50,13 @@
|
||||||
<Column field="size" header="Size" :sortable="true"></Column>
|
<Column field="size" header="Size" :sortable="true"></Column>
|
||||||
<Column field="type" header="Type" :sortable="true"></Column>
|
<Column field="type" header="Type" :sortable="true"></Column>
|
||||||
</TreeTable>
|
</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>
|
||||||
</template>
|
</template>
|
||||||
</CodeHighlight>
|
</CodeHighlight>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue