How to use the ag-grid-angular.AgGridModule.withComponents function in ag-grid-angular

To help you get started, we’ve selected a few ag-grid-angular 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 bradyhouse / house / fiddles / angular2-cli / fiddle-0021-EntAgGridState / src / app / app.module.ts View on Github external
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms'; // <-- NgModel lives here
// HttpClient
import { HttpClientModule } from '@angular/common/http';

// ag-grid
import { AgGridModule } from 'ag-grid-angular';
import { AppComponent } from './app.component';

@NgModule({
  imports: [
    BrowserModule,
    FormsModule, // <-- import the FormsModule before binding with [(ngModel)]
    HttpClientModule,
    AgGridModule.withComponents([])
  ],
  declarations: [AppComponent],
  bootstrap: [AppComponent]
})
export class AppModule {}
github bradyhouse / house / fiddles / angular2-cli / fiddle-0020-EntAgGridPivot / src / app / app.module.ts View on Github external
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {FormsModule} from '@angular/forms';
// ag-grid
import {AgGridModule} from 'ag-grid-angular';
// application
import {AppComponent} from './app.component';
// rich grid
import {RichGridComponent} from './rich-grid-component/rich-grid.component';

@NgModule({
    imports: [
        BrowserModule,
        FormsModule,
      HttpClientModule,
      AgGridModule.withComponents([])
    ],
    declarations: [
        AppComponent,
        RichGridComponent
    ],
    bootstrap: [AppComponent]
})
export class AppModule {
}
github bradyhouse / house / fiddles / angular2-cli / fiddle-0027-EntAgGridChart / src / app / app.module.ts View on Github external
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms'; // <-- NgModel lives here
import { HttpClientModule } from '@angular/common/http';
import { AgGridModule } from 'ag-grid-angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    FormsModule, // <-- import the FormsModule before binding with [(ngModel)]
    HttpClientModule,
    AgGridModule.withComponents([])
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
github TechnionYearlyProject / Cognitivity / code / client / src / app / app.module.ts View on Github external
UploadComponent,
    GalleryComponent,
  ],
  imports: [
    BrowserModule,
    FormsModule,
    AppRoutingModule,
    MyDatePickerModule,
    HttpModule,
    AngularFireAuthModule,
    AngularFireModule.initializeApp(environment.firebase),
    MatDialogModule,
    BrowserAnimationsModule,
    TagInputModule,
    ReactiveFormsModule,
    AgGridModule.withComponents([]),
    SharedModule
  ],
  providers: [
    ...PROVIDED_SERVICES
  ],
  bootstrap: [AppComponent],
  entryComponents: [CreateQuestionComponent]
})
export class AppModule { }
github naver / pinpoint / web / src / main / webapp / v2 / src / app / core / components / agent-list / index.ts View on Github external
import { NgModule } from '@angular/core';
import { AgGridModule } from 'ag-grid-angular';
import { SharedModule } from 'app/shared';
import { AgentListContainerComponent } from './agent-list-container.component';
import { AgentListComponent } from './agent-list.component';

@NgModule({
    declarations: [
        AgentListComponent,
        AgentListContainerComponent
    ],
    imports: [
        SharedModule,
        AgGridModule.withComponents([])
    ],
    exports: [
        AgentListContainerComponent
    ],
    providers: []
})
export class AgentListModule { }

ag-grid-angular

<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/ag-grid/ag-grid/blob/latest/documentation/ag-grid-docs/public/images/ag-logos/svg-logos/AG-Grid-Logo_Dark-Theme.svg?raw=true"/> <source

MIT
Latest version published 8 days ago

Package Health Score

92 / 100
Full package analysis