Angular UI Components Documentation

jQWidgets for Angular · version 27 · Angular 22, standalone

Angular UI components for data-heavy apps

Grids that stay fast with 100,000 rows, a scheduler, Gantt and Kanban boards, 30+ chart types, pivot tables and every editor a business app needs: 67 standalone Angular components with typed inputs and outputs.

  • 67components
  • 860+live demos with source
  • 45+themes, light and dark
  • 4frameworks, one API

All 67 components, by category

Why teams build with jQWidgets #

  • Fast with big data #

    Virtual scrolling, paging and server-side modes keep a grid of 100,000 rows responsive, and live cell updates take milliseconds.

    The 100,000-row tutorial
  • One API, four frameworks #

    The same components and options in JavaScript, Angular, React and Vue, so what you learn carries over: JavaScript, React, Vue.

  • Made for current Angular #

    Standalone components, signals and the new control flow; typed inputs and outputs, ngModel and reactive forms. Add it with ng add.

    Set up with the Angular CLI
  • Themes, light and dark #

    Fluent, Material, Tailwind and 35+ more themes, set per component, or your own from the Theme Builder.

    Theme Builder
  • Accessible and accountable #

    ARIA roles and keyboard navigation in the components; a published security policy, advisories and a software bill of materials.

    Security and compliance
  • Ready for AI #

    An AI-assisted Grid and a Chat component for your apps, and an MCP server and llms.txt that let coding assistants write correct jQWidgets code.

    The MCP server

Getting started #

This page takes you from an empty folder to an Angular 22 application that shows a jQWidgets data grid. You create the project with the Angular CLI, add jQWidgets with ng add, and then use the grid from a standalone component.

The Angular components live in the jqwidgets-ng npm package. Every component is standalone and the package supports Angular 19 and later.

1. Create the project #

Install the Angular CLI once, then create a new application. The CLI asks which stylesheet format to use and whether to enable server-side rendering; answer No to server-side rendering for this first app, because jQWidgets components render in the browser.

npm install -g @angular/cli
ng new my-app
cd my-app

2. Add jQWidgets with ng add #

ng add jqwidgets-ng

ng add asks you to choose a theme: base, fluent, material, material-green, material-purple, light or dark. It then:

  • adds jqwidgets-ng to package.json and installs it;
  • adds jqx.base.css and the chosen theme's stylesheet to the styles array in angular.json;
  • adds the Roboto and Material Icons font links to src/index.html.

If you prefer to set this up yourself, run npm install jqwidgets-ng and add the stylesheets to angular.json as shown in Angular CLI with jQWidgets.

3. Add a grid to the root component #

Since Angular 20, ng new names the root component App in src/app/app.ts, with its template in src/app/app.html. Older projects use app.component.ts and AppComponent; the code is the same.

Import jqxGridModule into the component's imports array. That is all a standalone component needs to use <jqxGrid> in its template.

src/app/app.ts:

import { Component, viewChild } from '@angular/core';
import { jqxGridComponent, jqxGridModule } from 'jqwidgets-ng/jqxgrid';

@Component({ selector: 'app-root', imports: [jqxGridModule], templateUrl: './app.html' })
export class App {
    readonly myGrid = viewChild.required<jqxGridComponent>('myGrid');
    readonly source = {
        datatype: 'array',
        localdata: [
            { id: 1, name: 'Hydrogen', symbol: 'H' },
            { id: 2, name: 'Helium', symbol: 'He' },
            { id: 3, name: 'Lithium', symbol: 'Li' },
            { id: 4, name: 'Beryllium', symbol: 'Be' },
            { id: 5, name: 'Boron', symbol: 'B' }
        ],
        datafields: [
            { name: 'id', type: 'number' },
            { name: 'name', type: 'string' },
            { name: 'symbol', type: 'string' }
        ]
    };
    readonly dataAdapter = new jqx.dataAdapter(this.source);
    readonly columns = [
        { text: 'Id', datafield: 'id', width: 80 },
        { text: 'Name', datafield: 'name' },
        { text: 'Symbol', datafield: 'symbol', width: 120 }
    ];

    addElement(): void {
        this.myGrid().addrow(null, { id: 6, name: 'Carbon', symbol: 'C' });
    }
}

src/app/app.html:

<jqxGrid #myGrid
    [theme]="'material'"
    [width]="'100%'"
    [source]="dataAdapter"
    [columns]="columns"
    [autoheight]="true"
    [pageable]="true"
    [sortable]="true"
    [filterable]="true"
    [altrows]="true"
    [selectionmode]="'checkbox'">
</jqxGrid>
<button type="button" (click)="addElement()">Add carbon</button>

Set [theme] to the theme you picked in ng add. The jqx namespace, which holds jqx.dataAdapter, is declared by the type definitions that ship with jqwidgets-ng, so you do not import it.

src/main.ts is created by the CLI and already starts the app with bootstrapApplication:

import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { App } from './app/app';

bootstrapApplication(App, appConfig).catch((err) => console.error(err));

4. Run the app #

ng serve

Open http://localhost:4200/. The grid pages, sorts and filters the rows, and the button adds a row through the grid's addrow method.

To scaffold a grid component instead of writing one, run ng generate jqwidgets-ng:grid my-grid --skip-import. It asks for a theme; Angular CLI and jqwidgets-ng explains the generated files.

Properties, events and methods #

Every widget option is an input with the option's name, so you bind it with [option]="value". Remember the inner quotes for string literals: [theme]="'material'".

Every widget event is an output named on plus the event name with a capital first letter. The grid's rowselect event becomes (onRowselect):

<jqxGrid #myGrid [source]="dataAdapter" [columns]="columns" (onRowselect)="rowSelected($event)"></jqxGrid>

Every widget method is a method of the component. Reach the component with a signal query, viewChild.required, and call the signal to get it:

import { AfterViewInit, Component, viewChild } from '@angular/core';
import { jqxBarGaugeComponent, jqxBarGaugeModule } from 'jqwidgets-ng/jqxbargauge';

@Component({
    selector: 'app-gauge',
    imports: [jqxBarGaugeModule],
    template: `<jqxBarGauge #myBarGauge [width]="600" [values]="[10, 20, 30]"></jqxBarGauge>`
})
export class Gauge implements AfterViewInit {
    readonly myBarGauge = viewChild.required<jqxBarGaugeComponent>('myBarGauge');

    ngAfterViewInit(): void {
        const gauge = this.myBarGauge();

        // Read and write a property through its method.
        const width = gauge.width();
        gauge.width(width / 2);

        // Call a widget method.
        gauge.val([60, 80]);

        // Change several options at once.
        gauge.setOptions({ max: 150, values: [50, 70, 90] });
    }
}

Two-way data binding #

Input widgets such as jqxInput, jqxComplexInput and jqxDateTimeInput implement Angular's ControlValueAccessor, so they work with [(ngModel)] and reactive forms. Add FormsModule to the component's imports next to the widget module:

import { Component, signal } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { jqxInputModule } from 'jqwidgets-ng/jqxinput';

@Component({
    selector: 'app-country',
    imports: [FormsModule, jqxInputModule],
    template: `
        <p>The selected country is {{ country() }}</p>
        <jqxInput
            [(ngModel)]="country"
            [width]="200"
            [height]="30"
            [source]="countries"
            [minLength]="1"
            [items]="5"
        ></jqxInput>
    `
})
export class Country {
    readonly country = signal('');
    readonly countries = [
        'Argentina',
        'Australia',
        'Austria',
        'Belgium',
        'Brazil',
        'Bulgaria',
        'Canada',
        'Denmark',
        'France',
        'Germany'
    ];
}

[(ngModel)] accepts a writable signal directly, so the paragraph updates as you type or pick a suggestion.

Documentation for AI assistants #

Every page of this documentation has a Markdown copy (the Markdown button at the top of a page), and the whole documentation is one file at llms-full.txt, with an index at llms.txt. Point your assistant there, or use Ask AI on any page.

Next steps #

Components #

Every Angular component, by category. Each one links to its getting-started guide and its API reference.

Data Grids and Tables #

Charts and Visualization #

Scheduling and Planning #

AI and Collaboration #

Editors and Inputs #

Lists and Selection #

Layout and Containers #

Popups and Feedback #

Data and Utilities #