Demo update

pull/104/head
cagataycivici 2019-10-22 10:55:37 +03:00
parent 3b85c6ed3b
commit 26d584d8b7
2 changed files with 5 additions and 5 deletions

View File

@ -913,7 +913,7 @@ export default {
</p> </p>
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;DataTable :value="cars" :paginator="true" :rows="10" :filters.sync="filters" :resizableColumns="true" &lt;DataTable :value="cars" :paginator="true" :rows="10" :filters.sync="filters"
stateStorage="session" stateKey="dt-state-demo-session" stateStorage="session" stateKey="dt-state-demo-session"
:selection.sync="selectedCar" selectionMode="single" dataKey="vin"&gt; :selection.sync="selectedCar" selectionMode="single" dataKey="vin"&gt;
&lt;template #header&gt; &lt;template #header&gt;

View File

@ -11,7 +11,7 @@
<div class="content-section implementation"> <div class="content-section implementation">
<h3>Session Storage</h3> <h3>Session Storage</h3>
<DataTable :value="cars" :paginator="true" :rows="10" :filters.sync="filters" :resizableColumns="true" <DataTable :value="cars" :paginator="true" :rows="10" :filters.sync="filters"
:selection.sync="selectedCar1" selectionMode="single" dataKey="vin" :selection.sync="selectedCar1" selectionMode="single" dataKey="vin"
stateStorage="session" stateKey="dt-state-demo-session"> stateStorage="session" stateKey="dt-state-demo-session">
<template #header> <template #header>
@ -53,7 +53,7 @@
</DataTable> </DataTable>
<h3>Local Storage</h3> <h3>Local Storage</h3>
<DataTable :value="cars" :paginator="true" :rows="10" :filters.sync="filters" :resizableColumns="true" <DataTable :value="cars" :paginator="true" :rows="10" :filters.sync="filters"
:selection.sync="selectedCar2" selectionMode="single" dataKey="vin" :selection.sync="selectedCar2" selectionMode="single" dataKey="vin"
stateStorage="local" stateKey="dt-state-demo-local"> stateStorage="local" stateKey="dt-state-demo-local">
<template #header> <template #header>
@ -101,7 +101,7 @@
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;h3&gt;Session Storage&lt;/h3&gt; &lt;h3&gt;Session Storage&lt;/h3&gt;
&lt;DataTable :value="cars" :paginator="true" :rows="10" :filters.sync="filters" :resizableColumns="true" &lt;DataTable :value="cars" :paginator="true" :rows="10" :filters.sync="filters"
:selection.sync="selectedCar1" selectionMode="single" dataKey="vin" :selection.sync="selectedCar1" selectionMode="single" dataKey="vin"
stateStorage="session" stateKey="dt-state-demo-session"&gt; stateStorage="session" stateKey="dt-state-demo-session"&gt;
&lt;template #header&gt; &lt;template #header&gt;
@ -143,7 +143,7 @@
&lt;/DataTable&gt; &lt;/DataTable&gt;
&lt;h3&gt;Local Storage&lt;/h3&gt; &lt;h3&gt;Local Storage&lt;/h3&gt;
&lt;DataTable :value="cars" :paginator="true" :rows="10" :filters.sync="filters" :resizableColumns="true" &lt;DataTable :value="cars" :paginator="true" :rows="10" :filters.sync="filters"
:selection.sync="selectedCar2" selectionMode="single" dataKey="vin" :selection.sync="selectedCar2" selectionMode="single" dataKey="vin"
stateStorage="local" stateKey="dt-state-demo-local"&gt; stateStorage="local" stateKey="dt-state-demo-local"&gt;
&lt;template #header&gt; &lt;template #header&gt;