Demo update
parent
3b85c6ed3b
commit
26d584d8b7
|
@ -913,7 +913,7 @@ export default {
|
|||
</p>
|
||||
<CodeHighlight>
|
||||
<template v-pre>
|
||||
<DataTable :value="cars" :paginator="true" :rows="10" :filters.sync="filters" :resizableColumns="true"
|
||||
<DataTable :value="cars" :paginator="true" :rows="10" :filters.sync="filters"
|
||||
stateStorage="session" stateKey="dt-state-demo-session"
|
||||
:selection.sync="selectedCar" selectionMode="single" dataKey="vin">
|
||||
<template #header>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<div class="content-section implementation">
|
||||
<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"
|
||||
stateStorage="session" stateKey="dt-state-demo-session">
|
||||
<template #header>
|
||||
|
@ -53,7 +53,7 @@
|
|||
</DataTable>
|
||||
|
||||
<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"
|
||||
stateStorage="local" stateKey="dt-state-demo-local">
|
||||
<template #header>
|
||||
|
@ -101,7 +101,7 @@
|
|||
<CodeHighlight>
|
||||
<template v-pre>
|
||||
<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"
|
||||
stateStorage="session" stateKey="dt-state-demo-session">
|
||||
<template #header>
|
||||
|
@ -143,7 +143,7 @@
|
|||
</DataTable>
|
||||
|
||||
<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"
|
||||
stateStorage="local" stateKey="dt-state-demo-local">
|
||||
<template #header>
|
||||
|
|
Loading…
Reference in New Issue