MJ entity name of the child table (e.g. MJ: Search Scope Providers).
Column config — drives rendering of each row.
Disable all editing (read-only mode).
Empty-state copy when the grid has zero rows.
Optional OrderBy clause applied to the initial load.
FK column on the child that references the parent SearchScope.
Emitted after a row is added.
Emitted after a row is removed.
Emitted whenever a row is successfully added or removed.
The parent record ID to filter / attach rows to. For a MJ: Search Scopes parent
this is the scope ID; for an MJ: AI Agents parent (assigning scopes to an agent)
this is the agent ID. Paired with ParentFieldName which names the FK column.
Add a new empty row attached to the current scope.
Read a cell value from a row (used by the template).
Return the display label for a lookup cell.
Return the dropdown options for a lookup column.
Reload the grid from the server.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
Remove a row (deletes from DB if saved, drops from state if new).
Persist changes to a row. Returns true on success.
Write a cell value back to the row and persist. Lookup columns store the ID but we also refresh the cached display label so the UI stays in sync without a reload.
Button label for the "add new row" action.