Aqua Basis
This section defines the set of enumerations used by AqTable to standardize key behaviors and configuration options. Enums such as ALIGNMENT
, SORT
, and TABLE_MODE
ensure consistent values across the table’s API, improving type safety and reducing implementation errors.
Each enum plays a specific role, whether it's aligning cell content, controlling sort order, or toggling between table modes. Understanding these values is essential for configuring AqTable correctly and predictably.
Determines the current sort status applied to a column, such as ascending, descending, or unsorted.
{
UNSET = 'unset',
ASC = 'asc',
DESC = 'desc',
}
Enum | Description |
---|---|
UNSET |
No sorting applied to the column. |
ASC |
Applies ascending sort to the column. |
DESC |
Applies descending sort to the column. |
Specifies how the table operates at its core, determining whether data handling is done on the client or delegated to the server.
{
CLIENT = 'CLIENT_SIDE',
SERVER = 'SERVER_SIDE',
}
Enum | Description |
---|---|
CLIENT |
Enables client-side behavior, where all data handling occurs in the browser. |
SERVER |
Enables server-side behavior, delegating data handling to the backend. |
On this page
✨ Design together. Build together. Speak the same language. ✨