This function generates a minimal `DT::datatable` displaying a custom message.
It is useful for placeholder content when there is no data to display.
Usage
build_empty_datatable(message)
Arguments
- message
A character string specifying the message to display in the table.
Value
A `DT::datatable` object containing a single-row, single-column table with the custom message.
Details
The resulting DataTable will have the following features:
- No column headers.
- No search box, pagination, or sorting functionality.
- A single-row table displaying the provided message.
Examples
# Create an empty DataTable with a custom message
build_empty_datatable("No data available")