SSR Table & Data Sync

Mode

Skin

Theme

Overview & Philosophy

Applied to a table container via <div data-ln-table id="..."> or <table>, ln-table bridges server-rendered DOM elements with dynamic client-side datasets. In SSR mode, it indexes server-rendered rows directly from <tbody>, while in data-driven mode (data-ln-table-source="store"), it listens for ln-data-store:data events, clones row templates, and mounts rendered rows using sliding-window virtual scrolling.

This page demonstrates SSR hydration with a local cache & remote sync layer: the server prints the first 100 rows into <tbody>, and ln-table hydrates them into the cache, then performs virtual windowed scrolling to fetch further pages on demand from a remote API.

Lifecycle

  1. Instant paint. The first 100 rows arrive as server-rendered <tr> elements, readable before any script runs.
  2. Hydration. On init, ln-table parses those rows and ingests them into the resident cache store (ln-data-store).
  3. Data Sync. As the user scrolls, searches, or filters, the component executes virtual windowed paging, emitting requests that the ln-data-coordinator delegates to the ln-api-connector for remote fetching.

What each control is wired to

The toolbar search and department/status popovers dispatch to ln-table. Each sortable header carries an ln-sort control whose ln-sort:change event is intercepted. The ln-data-coordinator coordinates fetching new pages from the backend (api.php) via the ln-api-connector and feeding the cached data store.

Server-side paging & Data Layer

This demo uses data-ln-table-source and data-ln-table-window to wire the table to the 3-Tier Data Layer. Scroll down to trigger remote chunk fetches dynamically.

Integration Log Terminal


	

Interactive Table Demo

Documents Manager

Title
Department
Status
Priority
Owner
Size
Updated
Security Policy #1 Operations Approved Low Sofia Risteska 10.9 KB
Privacy Plan #2 Operations Approved Low Igor Jones 39.9 KB
Compliance Roadmap #3 Legal Draft High Sofia Vukomanovska 33.6 KB
Risk Specification #4 IT Archived Medium Igor Miller 1.1 KB
Audit Assessment #5 Operations Rejected Low Nikola Jovanovska 41.5 KB
Operations Guide #6 Finance Pending Low Petra Smith 15.1 KB
Finance Memo #7 Legal Approved Low Marko Tomić 8.7 KB
HR Report #8 IT Rejected Medium Lena Wilson 39.3 KB
Legal Review #9 Sales Rejected High Petra Ilieva 25.3 KB
Marketing Charter #10 Operations Archived High Elena Vukomanovska 25.4 KB
Sales Agreement #11 Finance Rejected Critical Mila Jovanovska 20.7 KB
Engineering Strategy #12 Sales Archived Critical Anna Wilson 8.8 KB
Quality Procedure #13 Finance Draft Critical Marko Brown 39.9 KB
Vendor Analysis #14 Finance Pending Low Maria Jovanovska 6.0 KB
Customer Manual #15 HR Archived Medium Elena Davis 43.9 KB
Product Notice #16 IT Draft Critical David Brown 16.3 KB
Security Policy #17 Marketing Archived Medium Goran Martinez 10.5 KB
Privacy Plan #18 Legal Pending Low Lena Risteska 3.8 KB
Compliance Roadmap #19 IT Pending Critical David Garcia 7.5 KB
Risk Specification #20 IT Draft Medium Maria Williams 11.5 KB
Audit Assessment #21 Sales Rejected Medium Ana Tomić 26.4 KB
Operations Guide #22 Operations Pending Medium Elena Garcia 16.4 KB
Finance Memo #23 Sales Rejected Medium Marko Garcia 42.3 KB
HR Report #24 HR Approved Low David Petrović 39.9 KB
Legal Review #25 Operations Pending Medium Ana Smith 8.6 KB
Marketing Charter #26 Marketing Archived Critical Sara Jovanovska 9.0 KB
Sales Agreement #27 HR Draft High Maria Stojanovska 20.0 KB
Engineering Strategy #28 Marketing Approved Low Sara Jovanovska 0.3 KB
Quality Procedure #29 Finance Rejected Medium Anna Williams 47.1 KB
Vendor Analysis #30 Legal Pending Critical Mila Jones 7.8 KB
Customer Manual #31 IT Rejected High Vera Miller 28.8 KB
Product Notice #32 Sales Approved Medium Marko Davis 2.1 KB
Security Policy #33 Finance Rejected Medium Petra Ilieva 37.4 KB
Privacy Plan #34 IT Rejected Medium Sara Smith 45.3 KB
Compliance Roadmap #35 IT Pending Low Lena Johnson 34.6 KB
Risk Specification #36 Marketing Archived Medium Petra Petrović 12.3 KB
Audit Assessment #37 Marketing Pending Critical Mila Đorđevska 13.3 KB
Operations Guide #38 Sales Archived Critical Igor Stanković 5.1 KB
Finance Memo #39 IT Archived Medium Alex Vukomanovska 12.7 KB
HR Report #40 HR Pending High Ana Risteska 13.5 KB
Legal Review #41 HR Archived Critical Sara Petrović 36.7 KB
Marketing Charter #42 Marketing Draft High Stefan Vukomanovska 46.6 KB
Sales Agreement #43 Legal Draft Medium Ana Jones 42.4 KB
Engineering Strategy #44 Legal Archived Critical Anna Tomić 26.2 KB
Quality Procedure #45 IT Rejected Medium Igor Ilieva 40.6 KB
Vendor Analysis #46 Marketing Pending High Petra Risteska 42.2 KB
Customer Manual #47 Marketing Archived Low Maria Jovanovska 12.6 KB
Product Notice #48 Operations Draft Low Nikola Stojanovska 13.4 KB
Security Policy #49 Finance Draft Medium Boris Jovanovska 18.8 KB
Privacy Plan #50 Legal Pending High Sofia Petrović 21.8 KB
Compliance Roadmap #51 Legal Draft Medium Sara Vukomanovska 36.0 KB
Risk Specification #52 HR Rejected High Maria Jones 33.9 KB
Audit Assessment #53 Operations Draft High Igor Vukomanovska 12.0 KB
Operations Guide #54 Sales Archived High Mila Davis 41.1 KB
Finance Memo #55 IT Pending High Sara Garcia 33.6 KB
HR Report #56 Operations Rejected Medium Marko Brown 4.1 KB
Legal Review #57 HR Rejected Low Alex Davis 5.4 KB
Marketing Charter #58 IT Rejected High David Mitrovska 15.3 KB
Sales Agreement #59 Legal Rejected Medium Vera Stojanovska 38.1 KB
Engineering Strategy #60 Operations Archived High Goran Stojanovska 27.0 KB
Quality Procedure #61 Sales Draft Low Sofia Mitrovska 20.4 KB
Vendor Analysis #62 Sales Approved Low David Miller 46.8 KB
Customer Manual #63 Operations Pending Low Nikola Martinez 30.7 KB
Product Notice #64 HR Rejected Low Boris Smith 46.2 KB
Security Policy #65 Finance Archived Low Ana Johnson 28.1 KB
Privacy Plan #66 Legal Approved High John Mitrovska 34.0 KB
Compliance Roadmap #67 Finance Approved High Ana Mitrovska 45.9 KB
Risk Specification #68 IT Rejected Medium Marko Tomić 44.8 KB
Audit Assessment #69 Marketing Archived Low David Ilieva 18.7 KB
Operations Guide #70 Operations Approved Critical Elena Brown 14.4 KB
Finance Memo #71 Sales Draft High Marko Jones 47.5 KB
HR Report #72 IT Draft High Sara Stojanovska 44.8 KB
Legal Review #73 Legal Archived Medium Anna Stojanovska 3.9 KB
Marketing Charter #74 Marketing Archived Medium Lena Mitrovska 30.2 KB
Sales Agreement #75 Operations Pending Medium Ana Stanković 18.5 KB
Engineering Strategy #76 Finance Approved High Sofia Jones 27.3 KB
Quality Procedure #77 HR Draft Medium Petra Tomić 45.7 KB
Vendor Analysis #78 HR Rejected High Maria Miller 6.7 KB
Customer Manual #79 Marketing Draft Low Mila Tomić 1.2 KB
Product Notice #80 Finance Approved Critical David Garcia 38.9 KB
Security Policy #81 Marketing Draft Low Maria Mitrovska 44.4 KB
Privacy Plan #82 Finance Draft High Lena Vukomanovska 18.0 KB
Compliance Roadmap #83 HR Approved Critical Alex Đorđevska 31.7 KB
Risk Specification #84 Marketing Draft High David Johnson 12.1 KB
Audit Assessment #85 Operations Archived Low Lena Petrović 20.7 KB
Operations Guide #86 Sales Rejected Medium Petra Davis 22.5 KB
Finance Memo #87 Finance Approved High Petra Đorđevska 46.1 KB
HR Report #88 Finance Draft Low John Miller 5.5 KB
Legal Review #89 Sales Archived Medium Goran Jovanovska 0.9 KB
Marketing Charter #90 Legal Archived High Vera Stojanovska 20.7 KB
Sales Agreement #91 HR Rejected Critical Ana Miller 20.1 KB
Engineering Strategy #92 IT Approved Critical John Vukomanovska 38.4 KB
Quality Procedure #93 Sales Draft High Anna Williams 29.4 KB
Vendor Analysis #94 IT Archived Low Marko Martinez 5.3 KB
Customer Manual #95 IT Archived High Dejan Jones 24.2 KB
Product Notice #96 HR Approved High Anna Martinez 12.4 KB
Security Policy #97 Finance Approved Critical David Ilieva 26.3 KB
Privacy Plan #98 IT Approved Low Elena Jones 37.3 KB
Compliance Roadmap #99 Finance Approved Medium Alex Risteska 48.2 KB
Risk Specification #100 HR Approved Critical Sara Jovanovska 22.2 KB

100 items