Add enableDataWindowing option to VirtualScroller for improved control over data fetching. (Disable data windowing for now)

This commit is contained in:
Will Miao
2025-05-13 17:13:17 +08:00
parent 4f712fec14
commit 3e06938b05
2 changed files with 13 additions and 5 deletions

View File

@@ -121,7 +121,8 @@ async function initializeVirtualScroll(pageType) {
createItemFn: createCardFn,
fetchItemsFn: fetchDataFn,
pageSize: 100,
rowGap: 20
rowGap: 20,
enableDataWindowing: false // Explicitly set to false to disable data windowing
});
// Initialize the virtual scroller