Zum Inhalt springen
Anjunar/ DOCS

DataGrid

Virtuelle Karten mit stabilen SSR- und Hydration-Fenstern.
Grid-Virtualisierung
Kartensammlungen sollten auch dann leichtgewichtig bleiben, wenn sie wachsen.
Eine entfernte In-Memory-Quelle stellt 180 Karten bereit. DataGrid rendert die sichtbaren Zeilen, lädt angrenzende Bereiche vor und erhält eine crawlbare HTML-Paginierung.
Entferntes Karten-Grid
Der mitscrollende Header und jede Karte werden durch kontextbezogene Scala JS UI 1.0-DSL-Renderer aufgebaut.
180 entfernte Karten · der Header scrollt mit der virtuellen Fläche
Research
Atlas Memo 1
Dense notes, references, and open questions in one card.
Commerce
Northwind 2
A product teaser with enough structure for catalog browsing.
Operations
Signal Room 3
Metrics and ownership should still feel quiet at scale.
Editorial
Amber Draft 4
A story card with room for title, deck, and routing metadata.
Finance
Mint Ledger 5
Stable dimensions make grids predictable for dashboards too.
Archive
Violet Tape 6
Long collections stay light when only the viewport is rendered.
Research
Atlas Memo 7
Dense notes, references, and open questions in one card.
Commerce
Northwind 8
A product teaser with enough structure for catalog browsing.
Operations
Signal Room 9
Metrics and ownership should still feel quiet at scale.
Editorial
Amber Draft 10
A story card with room for title, deck, and routing metadata.
Finance
Mint Ledger 11
Stable dimensions make grids predictable for dashboards too.
Archive
Violet Tape 12
Long collections stay light when only the viewport is rendered.
Research
Atlas Memo 13
Dense notes, references, and open questions in one card.
Commerce
Northwind 14
A product teaser with enough structure for catalog browsing.
Operations
Signal Room 15
Metrics and ownership should still feel quiet at scale.
Editorial
Amber Draft 16
A story card with room for title, deck, and routing metadata.
Finance
Mint Ledger 17
Stable dimensions make grids predictable for dashboards too.
Archive
Violet Tape 18
Long collections stay light when only the viewport is rendered.
Research
Atlas Memo 19
Dense notes, references, and open questions in one card.
Commerce
Northwind 20
A product teaser with enough structure for catalog browsing.
Operations
Signal Room 21
Metrics and ownership should still feel quiet at scale.
Editorial
Amber Draft 22
A story card with room for title, deck, and routing metadata.
Finance
Mint Ledger 23
Stable dimensions make grids predictable for dashboards too.
Archive
Violet Tape 24
Long collections stay light when only the viewport is rendered.
Research
Atlas Memo 25
Dense notes, references, and open questions in one card.
Commerce
Northwind 26
A product teaser with enough structure for catalog browsing.
Operations
Signal Room 27
Metrics and ownership should still feel quiet at scale.
Editorial
Amber Draft 28
A story card with room for title, deck, and routing metadata.
Finance
Mint Ledger 29
Stable dimensions make grids predictable for dashboards too.
Archive
Violet Tape 30
Long collections stay light when only the viewport is rendered.
Research
Atlas Memo 31
Dense notes, references, and open questions in one card.
Commerce
Northwind 32
A product teaser with enough structure for catalog browsing.
Operations
Signal Room 33
Metrics and ownership should still feel quiet at scale.
Editorial
Amber Draft 34
A story card with room for title, deck, and routing metadata.
Finance
Mint Ledger 35
Stable dimensions make grids predictable for dashboards too.
Archive
Violet Tape 36
Long collections stay light when only the viewport is rendered.
Research
Atlas Memo 37
Dense notes, references, and open questions in one card.
Commerce
Northwind 38
A product teaser with enough structure for catalog browsing.
Operations
Signal Room 39
Metrics and ownership should still feel quiet at scale.
Editorial
Amber Draft 40
A story card with room for title, deck, and routing metadata.
Finance
Mint Ledger 41
Stable dimensions make grids predictable for dashboards too.
Archive
Violet Tape 42
Long collections stay light when only the viewport is rendered.
Research
Atlas Memo 43
Dense notes, references, and open questions in one card.
Commerce
Northwind 44
A product teaser with enough structure for catalog browsing.
Operations
Signal Room 45
Metrics and ownership should still feel quiet at scale.
Editorial
Amber Draft 46
A story card with room for title, deck, and routing metadata.
Finance
Mint Ledger 47
Stable dimensions make grids predictable for dashboards too.
Archive
Violet Tape 48
Long collections stay light when only the viewport is rendered.
Loading...
Loading tile 49
Loading nearby range...
Loading...
Loading tile 50
Loading nearby range...
Select a card to inspect the reactive cell state.
Größenanpassung
Bevorzugte Breite, flexible Spalten
Die bevorzugte Kartenbreite bestimmt die Spaltenzahl; die tatsächlichen Breiten füllen den Viewport.
Remote
Das Laden von Bereichen folgt dem Viewport
Ungeladene Positionen bleiben stabile Platzhalterzellen, während nahe Daten angefordert werden.
SSR-Hosting
Query-fähige Server rendern echte Fenster
offset und limit wählen auf einem anfragebasierten Server deterministisches HTML aus. Der GitHub-Pages-Snapshot wendet Query-Änderungen nach der Hydration an.
DataGrid-DSL
Der Renderer beschreibt eine Karte, während das Control Layout und Laden verwaltet.
scala
dataGrid[Tile](tiles) { itemWidthPx = 240 itemHeightPx = 196 gapPx = 16 overscanRows = 1 prefetchItems = 24 crawlable = true crawlId = "showcase-tiles" cellRenderer = { (tile, index) => div { text(tile.title) {} } } header { div { text("Scrolling grid header") {} } } }