SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.54k stars 265 forks source link

Virtual scrolling inside Lists and Tables #3711

Open ecstrema opened 3 years ago

ecstrema commented 3 years ago

Feature Request Description

Virtual scrolling inside list. See the list options for grow (you'll have to scroll down to it) or

this image. image

Proposed Solution

What all solutions will need:

All solutions will need an item-height property.

Solution 1: Simplest to implement

Add another ListGrowingMode: VirtualScroll, which causes the scrollbar to be reflective of the whole loadable content, and fires the load-more event with parameters startIndex: number and endIndex: number. This requires the user to handle inserting the items at the right place.

Code Example: ``` svelte busy > ```

Solution 2: A better solution, requiring more work

Provide a property, which is a function, that requests the right items.

Code Example: ```svelte ```

Priority

Medium

georgimkv commented 3 years ago

FYI @SAP/ui5-webcomponents-topic-core