pub struct KanbanBoardProps {
pub columns: Vec<KanbanColumnProps>,
pub items_path: Option<String>,
pub group_by: Option<String>,
pub card_title_key: Option<String>,
pub card_description_key: Option<String>,
pub row_actions: Option<Vec<DropdownMenuAction>>,
pub row_key: Option<String>,
pub mobile_default_column: Option<String>,
pub empty_label: Option<String>,
}Expand description
Props for KanbanBoard — horizontal scrollable columns on desktop, tab-based on mobile.
A kanban is fixed lanes plus items sorted into them by a status field.
columns is structure only (lane id + title) and is always rendered —
an empty lane still shows its header and a zero count. Card content is
data-bound: items_path resolves a flat array of entity objects, each
bucketed into the column whose id equals the item’s group_by value,
then rendered as a card via the card_* / row_* bindings. This is the
same prescribed-card + field-key convention used by DataTable and
MediaCardGrid. For fully-custom card structure, template the cards with
the $each directive inside a KanbanColumn instead.
Fields§
§columns: Vec<KanbanColumnProps>Lane structure — id + title. Always rendered.
items_path: Option<String>JSON-Pointer to a flat array of entity objects. Each item is bucketed
into the column whose id equals the item’s group_by value.
group_by: Option<String>Field on each item that selects its lane: column.id == item[group_by].
card_title_key: Option<String>Item field whose value becomes the card title.
card_description_key: Option<String>Item field whose value becomes the card subtitle/description.
row_actions: Option<Vec<DropdownMenuAction>>Per-card dropdown actions. {row_key} / {id} interpolate from the
item, matching DataTable / MediaCardGrid.
row_key: Option<String>Item field used for {row_key} substitution in action URLs
(defaults to id).
mobile_default_column: Option<String>§empty_label: Option<String>Placeholder text shown inside empty lanes. When None, empty lanes
render no placeholder (back-compat). Provide a short, neutral message —
e.g. “Nessun ordine”, “Nothing here”.
Trait Implementations§
Source§impl Clone for KanbanBoardProps
impl Clone for KanbanBoardProps
Source§fn clone(&self) -> KanbanBoardProps
fn clone(&self) -> KanbanBoardProps
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for KanbanBoardProps
impl Debug for KanbanBoardProps
Source§impl<'de> Deserialize<'de> for KanbanBoardProps
impl<'de> Deserialize<'de> for KanbanBoardProps
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for KanbanBoardProps
impl JsonSchema for KanbanBoardProps
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for KanbanBoardProps
impl PartialEq for KanbanBoardProps
Source§fn eq(&self, other: &KanbanBoardProps) -> bool
fn eq(&self, other: &KanbanBoardProps) -> bool
self and other values to be equal, and is used by ==.