type
Row
@Js
abstract const class Row : Obj, Dict
Row of a Grid. Row also implements the Dict mixin to expose all of the columns as name/value pairs.
methods
dis |
Get display string for dict or the given tag. |
---|---|
each |
Iterate through all the columns. |
eachWhile |
Iterate through all the columns until function returns null, then break iteration and return the result. |
get |
Get the column |
grid |
Parent grid |
has |
Return true if the given name is mapped to a non-null column |
isEmpty |
Always returns false. |
missing |
Return true if the given name is not mapped to a non-null column |
trap |
Get the column |
val |
Scalar value for the cell |
Slot Details
dis
virtual override Str? dis(Str? name := null, Str? def := "")
Get display string for dict or the given tag. The Row implementation follows all the same rules as Dict.dis
with following enhancements:
If the column meta defines a "format" pattern, then it is used to format the value via the appropiate toLocale
method.
each
eachWhile
get
grid
abstract Grid grid()
Parent grid
has
isEmpty
virtual override Bool isEmpty()
Always returns false.