pull/1280/head^2
Tuğçe Küçükoğlu 2021-11-16 13:35:28 +03:00
parent b529fdc272
commit 3388db2308
1 changed files with 2 additions and 2 deletions

View File

@ -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>
&lt;DataTable :value="cars" v-model:selection="selectedCars" selectionMode="multiple" dataKey="vin"&gt;
&lt;DataTable :value="cars" v-model:selection="selectedCars" dataKey="vin"&gt;
&lt;Column selectionMode="multiple"&gt;&lt;/Column&gt;
&lt;Column field="vin" header="Vin"&gt;&lt;/Column&gt;
&lt;Column field="year" header="Year"&gt;&lt;/Column&gt;