Lottra

Loading

Fetching the page content

Loading

Table Component Lab

Custom Table Debug Surface

Use this local page to exercise the shared custom table partials across client-side and query-driven examples before rolling them into production listings.

Client-side pattern

Shared header, filters, and row actions

This table demonstrates the standard card layout with shared search, managed filters, sortable headers, rows-per-page, and per-row action menus.

Try search, status filters, channel filters, sorting, and pagination on one in-memory table.
Account Channel Status Updated Actions
Mara Launch Kit
Portal Active 2026-05-12
Nairobi Retail Restock
Retail Pending 2026-05-10
Kilimani Wholesale Hold
Wholesale Inactive 2026-05-08
Westlands Seasonal Push
Portal Active 2026-05-06
Garden City Merch Drop
Retail Pending 2026-05-05
Industrial Park Bulk Run
Wholesale Active 2026-05-03
Riverside Client Refresh
Portal Inactive 2026-05-01
Karen Storefront Trial
Retail Active 2026-04-29

Query-mode pattern

Server table with columns and view toggle

This example uses the shared server-table stack with managed filter panels, query-string state, column visibility, and responsive grid or table views.

Change filters, visible fields, rows per page, or the grid toggle to inspect how the query-mode partials keep URL state aligned.
Report Workflow Owner Amount Updated Actions
Revenue snapshot
Queued Mara Team $4,200 2026-05-14
Merchant payout rollup
Processing Coast Desk $11,800 2026-05-13
Delivery partner ageing
Queued North Hub $7,800 2026-05-12
Refund exposure summary
Delivered Ops Central $16,400 2026-05-11
Campaign billing watch
Processing Finance Pod $5,300 2026-05-10
Client invoice variance
Queued Westlands Pod $9,200 2026-05-09
Payment review backlog
Delivered Support Desk $2,500 2026-05-08
Storefront conversion pulse
Processing Retail Ops $13,600 2026-05-07
Attribute sync audit
Queued QA Guild $6,100 2026-05-06
Shipping exception digest
Processing Mombasa Desk $15,100 2026-05-05

Grouped pattern

Grouped rows with expandable child reports

This example keeps each workflow lane as the primary row so the shared expansion contract can reveal grouped child reports in either table or grid view.

Open a group in table view to inspect the full-width colspan row, then switch to grid view to verify the same grouped content inside an accordion card.
Group Workflow Owner Reports Amount Updated
Queued Ops Lane
Queued Automation Desk 3 $21,200 2026-05-19
Processing Reconciliation Lane
Processing Finance Pod 5 $56,700 2026-05-19
Delivered Archive Lane
Delivered Support Desk 3 $23,700 2026-05-18

AJAX row expansion

Lazy row details from a debug endpoint

This example loads row detail content only when a report is expanded, using the shared expansion contract for both table and grid views.

Expand a row once to load its content, collapse it, then reopen it to verify the content stays cached inside the same panel.
Report Workflow Owner Amount Updated
Revenue snapshot
Queued Mara Team $4,200 2026-05-14
Merchant payout rollup
Processing Coast Desk $11,800 2026-05-13
Delivery partner ageing
Queued North Hub $7,800 2026-05-12
Refund exposure summary
Delivered Ops Central $16,400 2026-05-11
Campaign billing watch
Processing Finance Pod $5,300 2026-05-10

AJAX child rows

Lazy child rows injected below the parent row

This example loads real table rows from a debug endpoint and inserts them directly below the parent row so every child item renders across the same columns.

Expand a parent row to fetch child rows, confirm the new rows appear beneath it across the shared columns, then collapse and reopen it to verify the cached rows are restored.
Report Workflow Owner Amount Updated
Finance watchlist
Processing Finance Ops $12,400 2026-05-26
Catalog rollup
Queued Catalog Team $9,800 2026-05-24
Ops escalations
Processing Ops Central $15,100 2026-05-21

AJAX group expansion

Lazy grouped content from a debug endpoint

This example loads a grouped child collection only when the group is expanded, reusing the same expansion lifecycle for table rows and grid cards.

Expand a group in either view to fetch its child reports, then collapse and reopen it to confirm the shared panel cache is reused.
Group Workflow Owner Reports Amount Updated
Queued Ops Lane
Queued Automation Desk 3 $21,200 2026-05-19
Processing Reconciliation Lane
Processing Finance Pod 5 $56,700 2026-05-19
Delivered Archive Lane
Delivered Support Desk 3 $23,700 2026-05-18