How to use angular-datatables - 3 common examples

To help you get started, we’ve selected a few angular-datatables examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dockstore / dockstore-ui2 / src / app / listentry / listentry.module.ts View on Github external
*/

import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { DataTablesModule } from 'angular-datatables';
import { ClipboardModule } from 'ngx-clipboard';

import { PrivateIconModule } from '../shared/private-icon/private-icon.module';
import { ListentryComponent } from './listentry.component';

@NgModule({
  imports: [
    CommonModule,
    RouterModule,
    DataTablesModule.forRoot(),
    ClipboardModule,
    PrivateIconModule
  ],
  declarations: [ListentryComponent],
  exports: [ListentryComponent]
})
export class ListentryModule { }
github dockstore / dockstore-ui2 / src / app / listentry / listentry.component.spec.ts View on Github external
beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [ ListentryComponent,
      RouterLinkStubDirective ],
      schemas: [ NO_ERRORS_SCHEMA ],
      imports: [ DataTablesModule.forRoot(), ClipboardModule ],
      providers: [
        { provide: SearchService, useClass: SearchStubService },
        { provide: ListContainersService, useClass: ListContainersStubService },
        { provide: DockstoreService, useClass: SearchStubService }]
    })
    .compileComponents();
  }));
github dockstore / dockstore-ui2 / src / app / shared / modules / workflow.module.js View on Github external
WorkflowModule = __decorate([
    core_1.NgModule({
        declarations: [
            workflow_component_1.WorkflowComponent,
            descriptors_component_1.DescriptorsWorkflowComponent,
            files_component_1.FilesWorkflowComponent,
            paramfiles_component_1.ParamfilesWorkflowComponent,
            versions_component_1.VersionsWorkflowComponent,
            launch_component_1.LaunchWorkflowComponent,
            view_component_1.ViewWorkflowComponent
        ],
        imports: [
            common_1.CommonModule,
            alert_1.AlertModule.forRoot(),
            angular2_markdown_1.MarkdownModule.forRoot(),
            angular_datatables_1.DataTablesModule,
            header_module_1.HeaderModule,
            highlight_js_module_1.HighlightJsModule,
            list_workflows_module_1.ListWorkflowsModule,
            paramfiles_module_1.ParamfilesModule,
            select_module_1.SelectModule,
            tooltip_1.TooltipModule.forRoot(),
            tabs_1.TabsModule.forRoot(),
            accordion_1.AccordionModule.forRoot(),
            ngx_sharebuttons_1.ShareButtonsModule.forRoot(),
            orderby_module_1.OrderByModule,
            forms_1.FormsModule,
            dag_module_1.DagModule
        ],
        providers: [
            highlight_js_module_1.HighlightJsService,
            date_service_1.DateService,

angular-datatables

Angular directive for DataTables

MIT
Latest version published 5 months ago

Package Health Score

79 / 100
Full package analysis