Whether to allow column reordering
Whether to allow column resizing
Whether to allow sorting
Default column settings - enables sorting, resizing
Fired when an entity link is clicked
Fired when grid state changes (for persistence)
Height of the grid container
Initial grid state (for restoring from persistence)
External loading state - when true, shows loading overlay
Fired when the user navigates to a different page
Current page number (1-based) for server-side paging
Page size for server-side paging
Whether to automatically persist grid state (column widths, order, sort) to User Settings
Fired when refresh is requested
Fired when a row is clicked
Fired when a row is double-clicked
Fired when selection changes
Selection mode for the grid
Whether to show export button
Whether to show refresh button
Whether to show row count in toolbar
Whether to show selection count in toolbar
Whether to show the toolbar
Total row count for server-side paging (from RunQueryResult.TotalRowCount). When > 0 and TotalPages > 1, the data pager is displayed below the grid.
Visual configuration
Optional pre-built column configurations for ad-hoc queries without saved metadata. When provided, overrides both QueryInfo-derived columns and auto-inferred columns. Enables entity linking without requiring a saved Query or QueryInfo object.
Set this BEFORE setting Data to ensure columns are configured before the grid renders.
The query result data to display in the grid.
The QueryInfo metadata for the query being displayed. Used to derive column configurations and entity linking.
Closes the row detail panel
Export grid data directly without showing dialog
Optionaloptions: Partial<ExportOptions>Flushes any pending state changes immediately. Call this before destroying the component or switching queries to ensure all state changes are persisted.
Returns CSS classes for the container based on visual config
Navigate to the previous row in the detail panel
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
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 entity link click from the row detail panel
Opens the export dialog with current grid data
Opens the row detail panel with the given row data
A data grid component for displaying query results with full interactivity. Features:
Example