refactor
parent
b529fdc272
commit
3388db2308
|
@ -899,7 +899,7 @@ matchModes: [
|
|||
|
||||
<p>If you prefer a radioButton or a checkbox instead of a row click, use the <i>selectionMode</i> of a column instead. Following datatable displays a checkbox at the first column of each row and automatically adds a header checkbox to toggle selection of all rows.</p>
|
||||
<pre v-code><code><template v-pre>
|
||||
<DataTable :value="cars" v-model:selection="selectedCars" selectionMode="multiple" dataKey="vin">
|
||||
<DataTable :value="cars" v-model:selection="selectedCars" dataKey="vin">
|
||||
<Column selectionMode="multiple"></Column>
|
||||
<Column field="vin" header="Vin"></Column>
|
||||
<Column field="year" header="Year"></Column>
|
||||
|
|
Loading…
Reference in New Issue