How to use the ornamentum.DataTableModule.forRoot function in ornamentum

To help you get started, we’ve selected a few ornamentum 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 yohangz / ornamentum / src / app / main / main.module.ts View on Github external
import { COMPONENTS } from './index';

import { BaseComponent } from './components';

/**
 * Module class for containing main module.
 */
@NgModule({
  declarations: [...COMPONENTS],
  exports: [BaseComponent],
  imports: [
    AppCoreModule,
    RouterModule,
    CommonModule,
    FormsModule,
    DataTableModule.forRoot({
      showColumnSelector: true
    })
  ]
})
export class AppMainModule {}
github yohangz / ornamentum / src / app / feature / data-table / templating / data-table-loading-spinner-template / data-table-loading-spinner-template.module.ts View on Github external
import { DataTableLoadingSpinnerTemplateRoutingModule } from './data-table-loading-spinner-template-routing.module';

import { SharedModule } from '../../../../shared/shared.module';

/**
 * Module class for containing data table loading spinner template module.
 */
@NgModule({
  declarations: [DataTableLoadingSpinnerTemplateComponent, LoadingSpinnerTemplateUsageComponent],
  exports: [],
  imports: [
    CommonModule,
    FormsModule,
    SharedModule.forRoot(),
    DataTableModule.forRoot(),
    DataTableLoadingSpinnerTemplateRoutingModule
  ],
  providers: []
})
export class DataTableLoadingSpinnerTemplateModule {
}
github yohangz / ornamentum / src / app / feature / data-table / data-binding / data-table-server-side-basic / data-table-server-side-basic.module.ts View on Github external
import { SharedModule } from '../../../../shared/shared.module';

import { DataTableServerSideBasicComponent, ServerSideBasicUsageComponent } from './index';

/**
 * Module class for containing data table server side basic data binding module.
 */
@NgModule({
  declarations: [DataTableServerSideBasicComponent, ServerSideBasicUsageComponent],
  exports: [],
  imports: [
    CommonModule,
    FormsModule,
    SharedModule.forRoot(),
    DataTableModule.forRoot(),
    DataTableResourceModule.forRoot(),
    DataTableServerSideBasicRoutingModule
  ],
  providers: []
})
export class DataTableServerSideBasicModule {
}
github yohangz / ornamentum / src / app / feature / data-table / data-table-server-side-real-time-data-binding / data-table-server-side-real-time-data-binding.module.ts View on Github external
import { DataTableServerSideRealTimeDataBindingRoutingModule } from './data-table-server-side-real-time-data-binding-routing.module';

import { SharedModule } from '../../../shared/shared.module';

/**
 * Module class for containing data table server side real time data binding module.
 */
@NgModule({
  declarations: [DataTableServerSideRealTimeDataBindingComponent, ServerSideRealTimeDataBindingUsageComponent],
  exports: [],
  imports: [
    CommonModule,
    FormsModule,
    SharedModule.forRoot(),
    DataTableModule.forRoot({
      showColumnSelector: true,
      showHeader: true,
      pageable: true
    }),
    DataTableResourceModule,
    DataTableServerSideRealTimeDataBindingRoutingModule
  ],
  providers: []
})
export class DataTableServerSideRealTimeDataBindingModule {}
github yohangz / ornamentum / src / app / feature / data-table / templating / data-table-data-loading-template / data-table-data-loading-template.module.ts View on Github external
import { DataTableDataLoadingTemplateRoutingModule } from './data-table-data-loading-template-routing.module';

import { SharedModule } from '../../../../shared/shared.module';

/**
 * Module class for containing data table data loading template module.
 */
@NgModule({
  declarations: [DataTableDataLoadingTemplateComponent, DataLoadingTemplateUsageComponent],
  exports: [],
  imports: [
    CommonModule,
    FormsModule,
    SharedModule.forRoot(),
    DataTableModule.forRoot(),
    DataTableDataLoadingTemplateRoutingModule
  ],
  providers: []
})
export class DataTableDataLoadingTemplateModule {
}

ornamentum

Angular Toolkit

MIT
Latest version published 5 years ago

Package Health Score

48 / 100
Full package analysis