Whether to auto-navigate to the record when double-clicked. Defaults to true.
Emitted when the grid data is loaded.
Height of the grid. Can be a number (pixels), 'auto', or 'fit-content'. Defaults to 'auto'.
Optional: The List entity object if already loaded. If provided, avoids an extra database call to load the list.
The List ID to display records for. When set, the component loads the list entity and builds a filter to show only records that are in this list.
If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.
Emitted when a row is clicked (single click).
Emitted when a row is double-clicked.
Emitted when row selection changes (for checkbox mode).
Selection mode for the grid. Defaults to 'single'.
Show the grid toolbar. Defaults to true.
Custom toolbar configuration. If not provided, uses default.
StaticɵdirStaticɵfacGet the effective toolbar config (custom or default)
Returns either the default Metadata provider or the one specified in the Provider property, if it was specified
Get the total row count
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunReport provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
Get the selected row count
Clear all selections
Trigger the export dialog
Get the currently selected entity objects
A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.
The changed properties.
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.
Handle row double-click event from the grid
Handle selection change from the grid
Refresh the grid data
Select all rows
Select specific rows by key
ListDetailGridComponent - Displays records from a List using mj-entity-data-grid
This component wraps the modern mj-entity-data-grid component to display records that belong to a specific List. It uses a subquery filter to fetch only records whose IDs are in the List Details for the given ListID.
Example