Member Junction
    Preparing search index...

    A data grid component for displaying query results with full interactivity. Features:

    • Client-side sorting with multi-column support
    • Column resizing, reordering, and visibility toggle
    • Entity linking for columns with SourceEntityID
    • State persistence to User Settings
    • Export to Excel/CSV
    • Row selection (single, multiple, checkbox modes)
    <mj-query-data-grid
    [queryInfo]="query"
    [data]="queryResults"
    [selectionMode]="'multiple'"
    (entityLinkClick)="onEntityLinkClick($event)">
    </mj-query-data-grid>

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    AllowColumnReorder: boolean = true

    Whether to allow column reordering

    AllowColumnResize: boolean = true

    Whether to allow column resizing

    AllowSorting: boolean = true

    Whether to allow sorting

    ColumnDefs: ColDef<any, any>[] = []
    Columns: QueryGridColumnConfig[] = []
    DefaultColDef: ColDef = ...

    Default column settings - enables sorting, resizing

    EntityLinkClick: EventEmitter<QueryEntityLinkClickEvent> = ...

    Fired when an entity link is clicked

    ExportDialogConfig: ExportDialogConfig | null = null
    GridApi: GridApi<any> | null = null
    GridOptions: GridOptions = ...
    GridStateChange: EventEmitter<QueryGridStateChangedEvent> = ...

    Fired when grid state changes (for persistence)

    Height: string = '100%'

    Height of the grid container

    InitialGridState: QueryGridState | null = null

    Initial grid state (for restoring from persistence)

    IsLoading: boolean = false

    External loading state - when true, shows loading overlay

    PageChange: EventEmitter<PageChangeEvent> = ...

    Fired when the user navigates to a different page

    PageNumber: number = 1

    Current page number (1-based) for server-side paging

    PageSize: number = 100

    Page size for server-side paging

    PersistState: boolean = true

    Whether to automatically persist grid state (column widths, order, sort) to User Settings

    RefreshRequest: EventEmitter<void> = ...

    Fired when refresh is requested

    RowClick: EventEmitter<QueryRowClickEvent> = ...

    Fired when a row is clicked

    RowDetailData: Record<string, unknown> | null = null
    RowDetailIndex: number = 0
    RowDoubleClick: EventEmitter<QueryRowClickEvent> = ...

    Fired when a row is double-clicked

    SelectedRows: Record<string, unknown>[] = []
    SelectionChange: EventEmitter<QuerySelectionChangedEvent> = ...

    Fired when selection changes

    SelectionMode: QueryGridSelectionMode = 'multiple'

    Selection mode for the grid

    ShowExport: boolean = true

    Whether to show export button

    ShowExportDialog: boolean = false
    ShowRefresh: boolean = true

    Whether to show refresh button

    ShowRowCount: boolean = true

    Whether to show row count in toolbar

    ShowRowDetailPanel: boolean = false
    ShowSelectionCount: boolean = true

    Whether to show selection count in toolbar

    ShowToolbar: boolean = true

    Whether to show the toolbar

    SortState: QueryGridSortState[] = []
    Theme: Theme = ...
    TotalRowCount: number = 0

    Total row count for server-side paging (from RunQueryResult.TotalRowCount). When > 0 and TotalPages > 1, the data pager is displayed below the grid.

    VisualConfig: QueryGridVisualConfig = {}

    Visual configuration

    Accessors

    Methods

    • 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.

      Returns void