Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LinqTableComponent

Implements

  • OnInit
  • OnChanges
  • OnDestroy

Index

Constructors

  • Parameters

    Returns LinqTableComponent

Properties

autoFilters: any[] = []
bulkActions: TableBulkActions = []

Bulk actions appear when a selection is made, for example email all selected rows.

defaultColumns: ColDef = ...
defaultFilterChips: boolean = true

Flag to turn off filter chips when a column has been filtered.

defaultGridOptions: GridOptions = ...
defaultPage: number

Set the default page number to render

defaultSearchValue: string

Set a quick search value and trigger the search on load of the table

destroy$: Subject<unknown> = ...
disableSearch: boolean = false

Hide the quick search bar

exportCSV: boolean = true

Display Export data to CSV option in the footer, will export all current data

exportExcel: boolean = true

Display Export data to Excel option in the footer, will export all current data

footerActions: TableFooterActions = []

Array of actions which will be rendered in the footer, optional dropdown action button

gridApi: GridApi
gridOptions: GridOptions = ...

Default grid options

gridReady: EventEmitter<GridReadyEvent> = ...
headerActions: TableHeaderActions = []

Array of actions which wil lbe rendered in the header, based off LinqButtonTemplate

id: string | number

ID for the table id html attribute

intl: LinqIntl
length: number = 0
loading: boolean = false
noDataRefContext: {} = {}

Variables passed to the ContentChild noDataRef

Type declaration

    noDataTemplateRef: TemplateRef<unknown>
    pageIndex: number
    pageSize: number = 10
    pageSizes: number[] = ...

    Array of page size for the MatPaginator

    pagination: boolean = true

    Hide pagination in table footer

    rowData: TableRowData = []

    Data for table, can be observable to be used the rowData$ | async template function.

    searchInput: string
    selected: unknown[] = []
    tableComponentRef: TemplateRef<unknown>
    tableRefContext: { className: string; data: TableRowData; defaultColDef: ColDef; defaultColumns: ColDef; gridOptions: GridOptions; onGridReady: ((params: GridReadyEvent) => void); rowData: TableRowData } = ...

    Variables passed to the ContentChild tableRef

    Type declaration

    • className: string
    • data: TableRowData
    • defaultColDef: ColDef
    • defaultColumns: ColDef
    • gridOptions: GridOptions
    • onGridReady: ((params: GridReadyEvent) => void)
        • (params: GridReadyEvent): void
        • Parameters

          • params: GridReadyEvent

          Returns void

    • rowData: TableRowData
    tableTemplateRef: TemplateRef<unknown>
    trackingId: string | number

    ID for the table data-id html attribute

    Methods

    • manageLoadingOfData(): void
    • Data can be an observable or an array. Handle both cases.

      Returns void

    • managePageSizeAndPagination(): void
    • Returns void

    • ngOnChanges(changes: SimpleChanges): void
    • Parameters

      • changes: SimpleChanges

      Returns void

    • ngOnDestroy(): void
    • Returns void

    • ngOnInit(): void
    • Returns void

    • onGridReady(params: GridReadyEvent): void
    • Parameters

      • params: GridReadyEvent

      Returns void

    Generated using TypeDoc