DetailDataRequestParams

Parameters passed to the getDetailRowData callback. Provides access to parent row data, metadata, and success/failure handlers.

Props

The following table outlines the props for the DetailDataRequestParams:

NameTypeDefaultDescription
data
T
-

The parent row data object. Extract child data from this object using properties or computed values.

failureCallback
(error: Error) => void
-

Optional callback to signal failed data binding. Invoke on error with an Error object. Detail grid will display error state to user.

nestingDepth
number
-

Current nesting depth (0-based).

  • 0 = First-level detail grid (child of master)
  • 1 = Second-level detail grid (child of first detail)
  • n = nth-level detail grid Use this to enforce depth limits or adjust behavior per nesting level.
rowIndex
number
-

Zero-based index of the parent row in the master grid. Useful for identifying which row is being expanded.

successCallback
(data: CT[]) => void
-

Callback to signal successful data binding. Invoke with an array of child row objects. Detail grid will render these rows in a nested grid.