UNPKG

angular-slickgrid

Version:

Slickgrid components made available in Angular

41 lines (40 loc) 2.05 kB
import type { BackendService, BasePaginationComponent, ExtensionList, ExtensionService, FilterService, GridEventService, GridService, GridStateService, HeaderGroupingService, PaginationService, ResizerService, SlickDataView, SlickGrid, SortService, TreeDataService } from '@slickgrid-universal/common'; import type { EventPubSubService } from '@slickgrid-universal/event-pub-sub'; export interface AngularGridInstance { /** Slick DataView object */ dataView: SlickDataView; /** Slick Grid object */ slickGrid: SlickGrid; /** SlickGrid extensions (external controls/plugins) */ extensions: ExtensionList<any>; /** Dispose of the grid and optionally empty the DOM element grid container as well */ destroy: (emptyDomElementContainer?: boolean) => void; /** Backend Service, when available */ backendService?: BackendService; /** EventPubSub Service instance that is used internal by the lib and could be used externally to subscribe to Angular-Slickgrid events */ eventPubSubService?: EventPubSubService; /** Extension (Plugins & Controls) Service */ extensionService: ExtensionService; /** Filter Service */ filterService: FilterService; /** Grid Service (grid extra functionalities) */ gridService: GridService; /** Grid Events Service */ gridEventService: GridEventService; /** Grid State Service */ gridStateService: GridStateService; /** @deprecated @use `headerGroupingService` */ groupingService: HeaderGroupingService; /** Grouping (and colspan) Service */ headerGroupingService: HeaderGroupingService; /** Pagination Component */ paginationComponent?: BasePaginationComponent; /** Pagination Service (allows you to programmatically go to first/last page, etc...) */ paginationService?: PaginationService; /** Resizer Service (including auto-resize) */ resizerService: ResizerService; /** Sort Service */ sortService: SortService; /** Tree Data View Service */ treeDataService: TreeDataService; }