Skip to main content
cngx-src documentation

CngxDgaRowStateContext

Interface

projects/ui/data-grid-accordion/data-grid-row-state-context.ts

Referenced by#

Import#

import { CngxDgaRowStateContext } from '@cngx/ui/data-grid-accordion'

Description#

Template context handed to the busy (*cngxDgaRowBusy) and error (*cngxDgaRowError) slots of a CngxDataGridRow, so an override can read the row's live async state without re-injecting it.

$implicit is the current AsyncStatus (loading / refreshing in the busy slot, error in the error slot). message carries the resolved error string in the error state and is empty in the busy state, so an error override can render the announced text (and a retry) without re-deriving it.

Re-declared locally as an identical shape to CngxAccordionItemStateContext rather than imported from the accordion entry, so this entry pulls in nothing from a sibling @cngx/ui entry (data-grid-accordion accepted-debt ยง1).

Index#

Instance Properties#

$implicit#AsyncStatus
Readonly
message#string
Readonly