refactor
parent
55c92d056f
commit
75c90bac68
|
@ -1320,7 +1320,7 @@ export default {
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<h5>Row Reorder</h5>
|
<h5>Row Reorder</h5>
|
||||||
<p>Data can be reordered using drag drop by adding a reorder column that will display an icon as a drag handle along with the <i>row-order</i> event which is <b>mandatory</b> to update the new order. Note that the reorder icon can be customized using <i>rowReorderIcon</i> of the column component.</p>
|
<p>Data can be reordered using drag drop by adding a reorder column that will display an icon as a drag handle along with the <i>row-reorder</i> event which is <b>mandatory</b> to update the new order. Note that the reorder icon can be customized using <i>rowReorderIcon</i> of the column component.</p>
|
||||||
<pre v-code><code><template v-pre>
|
<pre v-code><code><template v-pre>
|
||||||
<DataTable :value="cars" @row-reorder="onRowReorder">
|
<DataTable :value="cars" @row-reorder="onRowReorder">
|
||||||
<Column :rowReorder="true" headerStyle="width: 3em" />
|
<Column :rowReorder="true" headerStyle="width: 3em" />
|
||||||
|
|
Loading…
Reference in New Issue