ApiTables Documentation

Frontend technical reference for the ApiTables Next.js Frontend module in bolesa-app-ui

ApiTables is a server-driven data table package used in bolesa-app-ui: the backend defines columns, filters, sorting, row actions, and bulk actions; the frontend (./ApiTables/) renders them with a dedicated Redux store per table instance.

This section covers the frontend layer — the Next.js Frontend module. For Laravel package and API endpoints, switch to Backend documentation via the sidebar layer switcher.

Source (frontend): ./ApiTables/ in bolesa-app-ui

About this documentation

Frontend reference written by Mohamed Hasan (@mhmdhasan) while at Storage IT Solutions. ApiTables is a team effort across backend and frontend; this section documents the UI module only.

Start here by experience level

LevelPathTime
New hire / juniorKey conceptsGetting startedGlossary~1 hour
Mid-levelArchitectureProvidersFilters + Row actions~2 hours
SeniorCustom controlsExternal statePackage mapTroubleshootingAs needed

First week on the team?

Read Key concepts first. Backend must expose load-table before your page works — see Backend getting started or pair with a backend developer.

What you will find here

NeedStart here
Understand the UI modelKey concepts
Add a table pageGetting started
Structure JSON fieldsTable structure
Redux & providersProviders overview
Something brokenTroubleshooting
Full file listPackage map
Backend APIsBackend docs

Documentation map

Mental model

1. Structure

GET

Control-tables endpoint returns columns, filters, and actions.

2. State

Redux

One store per ApiTablesProvider — isolated per table instance.

3. Query

POST

query-table with filters, sorts, and pagination.

4. Actions

POST

Row and bulk handlers refresh rows via onSuccess rules.

On this page