Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LinqTableComponent

Implements

  • OnInit
  • OnChanges
  • OnDestroy

Index

Constructors

  • Parameters

    • cdr: ChangeDetectorRef
    • intl: LinqIntl
    • zone: NgZone

    Returns LinqTableComponent

Properties

_gridOptions: GridOptions<any> = ...

Default grid options

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

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

defaultColumns: ColDef<any> = ...
defaultFilterChips: boolean = true

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

defaultGridOptions: GridOptions<any> = ...
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<any>
gridReady: EventEmitter<GridReadyEvent<unknown>> = ...
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
minHeight: number | boolean = 535

Min height of the internal table container. Approximately 10 rows of text data

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

    paginationChangedEvent: PaginationChangedEvent<any>
    rowData: TableRowData = []

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

    searchInput: string
    selected: unknown[] = []
    tableComponentRef: TemplateRef<unknown>
    tableTemplateRef: TemplateRef<unknown>
    trackingId: string | number

    ID for the table data-id html attribute

    Accessors

    • get gridOptions(): GridOptions<any>
    • set gridOptions(value: GridOptions<any>): void
    • Returns GridOptions<any>

    • Parameters

      • value: GridOptions<any>

      Returns void

    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<unknown>): void
    • Parameters

      • params: GridReadyEvent<unknown>

      Returns void

    • setMinHeight(): void
    • Returns void

    Generated using TypeDoc