Demo update
parent
7531811ced
commit
926187ff71
|
@ -41,7 +41,7 @@
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5>Virtual Scroll</h5>
|
<h5>Virtual Scroll</h5>
|
||||||
<DataTable :value="virtualCustomers" :scrollable="true" scrollHeight="200px" :lazy="true" :rows="20" :loading="loading"
|
<DataTable :value="virtualCustomers" :scrollable="true" scrollHeight="200px" :lazy="true" :rows="20" :loading="loading"
|
||||||
:virtualScroll="true" :virtualRowHeight="30" @virtual-scroll="onVirtualScroll" :totalRecords="lazyTotalRecords">
|
:virtualScroll="true" :virtualRowHeight="45" @virtual-scroll="onVirtualScroll" :totalRecords="lazyTotalRecords">
|
||||||
<Column field="name" header="Name">
|
<Column field="name" header="Name">
|
||||||
<template #loading>
|
<template #loading>
|
||||||
<span class="loading-text"></span>
|
<span class="loading-text"></span>
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5>Virtual Scroll</h5>
|
<h5>Virtual Scroll</h5>
|
||||||
<DataTable :value="virtualCustomers" :scrollable="true" scrollHeight="200px" :lazy="true" :rows="20" :loading="loading"
|
<DataTable :value="virtualCustomers" :scrollable="true" scrollHeight="200px" :lazy="true" :rows="20" :loading="loading"
|
||||||
:virtualScroll="true" :virtualRowHeight="30" @virtual-scroll="onVirtualScroll" :totalRecords="lazyTotalRecords">
|
:virtualScroll="true" :virtualRowHeight="45" @virtual-scroll="onVirtualScroll" :totalRecords="lazyTotalRecords">
|
||||||
<Column field="name" header="Name">
|
<Column field="name" header="Name">
|
||||||
<template #loading>
|
<template #loading>
|
||||||
<span class="loading-text"></span>
|
<span class="loading-text"></span>
|
||||||
|
|
Loading…
Reference in New Issue