Skip to content
Ghislain B edited this page Feb 6, 2018 · 8 revisions

You might find yourself re-using the same configurations over and over, in that case we got you covered. You can change any of the global options directly in your App Module through forRoot which accept an optional object of Grid Options.

@NgModule({
  declarations: [ ... ],
  imports: [
    AngularSlickgridModule.forRoot({
      enableAutoResize: true,
      autoResize: {
        containerId: 'grid-container',
        sidePadding: 15
      },
      enableFiltering: true,
      enableCellNavigation: true,
      enablePagination: true,
      enableRowSelection: true,
      enableTranslate: true,
      ...
    }),
    ...
  ];

Contents

Clone this wiki locally