AshReports.Layout.GridCell (ash_reports v0.1.0)
An individual cell within grid layouts with positioning support.
Grid cells can be explicitly positioned using x/y coordinates and override parent properties like alignment, fill, stroke, and padding. They contain only leaf elements (no nested containers).
Example
grid_cell do
x 0
y 1
align :right
fill "#e0e0e0"
field source: :total, format: :currency
end
Summary
Types
@type t() :: %AshReports.Layout.GridCell{ align: alignment(), elements: [map()], fill: String.t() | nil, inset: String.t() | nil, name: atom() | nil, stroke: String.t() | nil, x: non_neg_integer() | nil, y: non_neg_integer() | nil }