mendraw/mendix/list_attribute
Provides typed access to Mendix list attributes.
Types
A typed ListActionValue value used by the list attribute capability.
pub type ListActionValue
A typed ListAttributeValue value used by the list attribute capability.
pub type ListAttributeValue
A typed ListExpressionValue value used by the list attribute capability.
pub type ListExpressionValue
A typed ListWidgetValue value used by the list attribute capability.
pub type ListWidgetValue
Values
pub fn attr_filterable(attr attr: ListAttributeValue) -> Bool
Reports whether the attribute is filterable.
pub fn attr_formatter(
attr attr: ListAttributeValue,
) -> formatter.ValueFormatter
Returns the attribute value formatter.
pub fn attr_id(attr attr: ListAttributeValue) -> String
Returns the attribute identifier.
pub fn attr_sortable(attr attr: ListAttributeValue) -> Bool
Reports whether the attribute is sortable.
pub fn attr_type(attr attr: ListAttributeValue) -> String
Returns the attribute type name.
pub fn get_action(
action action: ListActionValue,
item item: mendix.ObjectItem,
) -> option.Option(a)
Returns the list action for an item.
pub fn get_attribute(
attr attr: ListAttributeValue,
item item: mendix.ObjectItem,
) -> a
Returns the list attribute for an item.
pub fn get_expression(
expr expr: ListExpressionValue,
item item: mendix.ObjectItem,
) -> a
Returns the list expression for an item.
pub fn get_widget(
widget widget: ListWidgetValue,
item item: mendix.ObjectItem,
) -> redraw.Element
Returns the list widget for an item.