widget/mendix/list_value
Types
pub type FilterCondition
pub type SortDirection {
Asc
Desc
}
Constructors
-
Asc -
Desc
pub type SortInstruction
Values
pub fn has_more_items(lv: ListValue) -> option.Option(Bool)
더 많은 아이템이 있는지 (불확실하면 None)
pub fn items(
lv: ListValue,
) -> option.Option(List(mendix.ObjectItem))
아이템 목록 (로딩 중이면 None)
pub fn request_total_count(lv: ListValue, need: Bool) -> Nil
전체 아이템 수 요청 (True → 요청, False → 해제)
pub fn set_filter(
lv: ListValue,
filter: option.Option(FilterCondition),
) -> Nil
필터 조건 설정 (None → 필터 해제)
pub fn set_sort_order(
lv: ListValue,
order: List(SortInstruction),
) -> Nil
정렬 순서 설정
pub fn sort_id(instr: SortInstruction) -> String
pub fn status(lv: ListValue) -> mendix.ValueStatus
현재 상태 (Available, Loading, Unavailable)