How to use the angular-slickgrid.AngularSlickgridModule.forRoot function in angular-slickgrid

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

github aspnetrun / run-aspnetcore-cqrs / src / AspnetRun.Web / src / app / shared / shared.module.ts View on Github external
import { ModalModule } from 'ngx-bootstrap/modal';
import { NgSelectModule } from '@ng-select/ng-select';
import { AngularSlickgridModule } from 'angular-slickgrid';

import { ValidationMessageComponent } from './validation-message/validation-message.component';
import { CapitalizePipe } from './pipes/capitalize.pipe';
import { TrimPipe } from './pipes/trim.pipe';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ModalModule.forRoot(),
    NgSelectModule,
    AngularSlickgridModule.forRoot({
      enableAutoResize: true,
      autoHeight: false,
      autoResize: {
        maxHeight: 429,
        containerId: 'grid-container',
        sidePadding: 0
      },
      enableFiltering: true,
      pagination: {
        pageSizes: [],
        pageSize: 20,
        totalItems: 0
      },
    }),
  ],
  exports: [