# Angular Angular

npm version (opens new window) npm downloads (opens new window) Github issues (opens new window) Github repo (opens new window)

ActiveWidgets Datagrid for the vanilla JS application, i.e. not using any modern framework.


This package requires dependencies under ⚠️ FREE TRIAL/COMMERCIAL license. You have to purchase a license (opens new window) for each developer in your team before including this package in your application.

The library is available as an NPM package.

> npm install --save @activewidgets/angular

# NPM package

The main module exports individual ActiveWidgets component classes and AxModule class.

import { AxModule } from "@activewidgets/angular";

The css files are NOT included - you should import them separately from @activewidgets/angular/css.

import "@activewidgets/angular/css";

# AxModule

You have to include AxModule in your app module imports -

import { AxModule } from "@activewidgets/angular";
import '@activewidgets/angular/css';

  imports: [BrowserModule, AxModule], // <-- include AxModule in the imports
  declarations: [AppComponent],
  bootstrap: [AppComponent]
export class AppModule {}

Then you can use ax-datagrid and other ax-... tags in your component templates -

<ax-datagrid [columns]="columns" [rows]="rows"></ax-datagrid>