Angular Data GridRow Reference
Angular Data GridRow Reference
Attributes and methods available on the IRowNode<TData>
interface.
Data
Display
Events
add | Add an event listener. |
remove | Remove event listener. |
Expand / Collapse
Grouping
groupTypeboolean | undefined | true if this node is a group node (i.e. it has children) |
group | If using row grouping, contains the group values for this group. |
agg | If using row grouping and aggregation, contains the aggregation data. |
keyTypestring | null | The key value for this group. |
fieldTypestring | null | The field we are grouping on from our row data. |
row | The row group column used for this group. |
row | If doing in-memory (client-side) grouping, this is the index of the group column this cell is for.
This will always be the same as the level, unless we are collapsing groups, i.e. groupRemoveSingleChildren=true . |
footerTypeboolean | true if row is a footer. Footers have group = true and footer = true . |
parentTypeIRowNode | null | The parent node to this node, or empty if top level. |
first | true if this is the first child in this group. Changes when data is sorted. |
last | true if this is the last child in this group. Changes when data is sorted. |
child | Index of this row with respect to its parent when grouping. Changes when data is sorted. |
levelTypenumber | How many levels this node is from the top when grouping. |
ui | How many levels this node is from the top when grouping in the UI (only different to parent when groupRemoveSingleChildren=true ). |
all | All lowest level nodes beneath this node, no groups. |
children | Children of this group. If multi levels of grouping, shows only immediate children. |
children | Filtered children of this group. |
children | Sorted children of this group. |
all | Number of children and grand children. |
leaf | true if this node is a group and the group is the bottom level in the tree. |
siblingTypeIRowNode | If using footers, reference to the footer node for this group. |
depth | Perform a depth-first search of this node and its children. |