-
-
Notifications
You must be signed in to change notification settings - Fork 120
Global Options
ghiscoding edited this page Dec 12, 2022
·
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.
import { AngularSlickgridModule } from 'angular-slickgrid';
@NgModule({
declarations: [ /*...*/ ],
imports: [
AngularSlickgridModule.forRoot({
enableAutoResize: true,
autoResize: {
containerId: 'grid-container',
sidePadding: 15
},
enableFiltering: true,
enableCellNavigation: true,
enablePagination: true,
enableRowSelection: true,
enableTranslate: true,
//...
}),
],
providers: [ /*...*/ ]
});
export class AppModule { }
For the complete list of available Grid Option, you can take a look at the Default Grid Options file and/or technically any of the options from the grid options - interface are configurable.
Contents
- Angular-Slickgrid Wiki
- Installation
- Styling
- Interfaces/Models
- Testing Patterns
- Column Functionalities
- Global Grid Options
- Localization
- Events
- Grid Functionalities
- Auto-Resize / Resizer Service
- Resize by Cell Content
- Composite Editor
- Context Menu
- Custom Tooltip
- Add/Delete/Update or Highlight item
- Dynamically Change Row CSS Classes
- Excel Copy Buffer
- Export to Excel
- Export to File (CSV/Txt)
- Grid State & Presets
- Grouping & Aggregators
- Row Detail
- SlickGrid Controls
- SlickGrid Plugins
- Pinning (frozen) of Columns/Rows
- Tree Data Grid
- SlickGrid & DataView objects
- Addons (controls/plugins)
- Backend Services