Skip to content

GridGroupingRowsDirective

Owns the binding(s) [groupingRows], [groupToggle], [groupExpand], [groupCollapse], [groupLoadError] on <tbw-grid> for the matching feature plugin. See GridFilteringDirective for the full rationale.

PropertyTypeDescription
groupingRowsInputSignal<GroupingRowsConfig | undefined>
groupToggleOutputEmitterRef<GroupToggleDetail>
groupExpandOutputEmitterRef<GroupExpandDetail>
groupCollapseOutputEmitterRef<GroupCollapseDetail>
groupLoadErrorOutputEmitterRef<GroupLoadErrorDetail>Fired when loading a pre-defined group’s rows through the ServerSide data source (getChildRows()) fails. Re-expanding the group retries the fetch. v2.7.0+

A callback method that is invoked immediately after the default change detector has checked the directive’s data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

ngOnInit(): void

A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

ngOnDestroy(): void