Skip to main content

Action Column

FdcActionColumn is a UI-only column for standardized row actions. It is not bound to a dataset field and does not participate in sorting, filtering, search, summaries, editing, or export.

Action column sample
Loading FDC sample…
FdcGrid(
dataSet: invoiceRows,
columns: [
const FdcTextColumn(fieldName: 'invoice_no', width: 120),
const FdcTextColumn(fieldName: 'customer', width: 200),
FdcActionColumn(
width: 86,
spacing: 2,
actions: [
FdcRowAction(
icon: Icons.visibility_outlined,
tooltip: 'Open',
onPressed: openInvoice,
),
const FdcRowAction.delete(),
],
),
],
);

Key characteristics

  • Renders standardized row-level actions.
  • Supports custom FdcRowAction items and the built-in delete action.
  • Ideal for commands such as open, preview, duplicate, navigate, or delete.

Example

FdcActionColumn(
actions: [
FdcRowAction(
icon: Icons.visibility_outlined,
tooltip: 'Open',
onPressed: openInvoice,
),
const FdcRowAction.delete(),
],
)