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
Data GridSort, filter, group, edit and export
SchedulerDay to timeline views
Charts30+ chart types
GanttTasks and dependencies
KanbanDrag-and-drop boards
Pivot GridTotals by rows and columns
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 tutorialOne 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 CLIThemes, light and dark #
Fluent, Material, Tailwind and 35+ more themes, set per component, or your own from the Theme Builder.
Theme BuilderAccessible and accountable #
ARIA roles and keyboard navigation in the components; a published security policy, advisories and a software bill of materials.
Security and complianceReady 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-ngtopackage.jsonand installs it; - adds
jqx.base.cssand the chosen theme's stylesheet to thestylesarray inangular.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 #
- Angular Grid getting started
- Angular CLI and jqwidgets-ng: what
ng addchanges and how the package is organised - Tour of Heroes with jQWidgets: a step-by-step tutorial
- Live demos: jQWidgets Angular demos
Components #
Every Angular component, by category. Each one links to its getting-started guide and its API reference.
Data Grids and Tables #
- jqxGrid
Data grid with sorting, filtering, grouping, paging, editing, aggregates, export and virtual scrolling for large datasets.
- jqxPivotGrid
Pivot table for summarising data by rows, columns and aggregate functions, with a drag-and-drop designer.
- jqxTreeGrid
Hierarchical grid that shows tree data in columns, with load-on-demand, editing, aggregates and export.
- jqxDataTable
Lightweight table built on native table markup, with paging, sorting, filtering, grouping and editing.
Charts and Visualization #
- jqxChart
Over 30 chart types (line, area, bar, pie, donut, range, financial, polar and spider) rendered as SVG or HTML5 Canvas.
- jqxGauge
Radial and linear gauges with ranges, ticks, labels and animated pointers.
- jqxBulletChart
Compact bullet chart that shows a measure against a target and qualitative ranges.
- jqxHeatMap
Heat map that colours a matrix of values on a configurable colour scale.
- jqxTreeMap
Treemap that shows hierarchical data as nested rectangles sized and coloured by value.
- jqxRangeSelector
Range slider over a numeric or date scale, often used to filter a chart or grid.
- jqxBarcode
Barcode generator for common 1D symbologies, rendered as SVG or Canvas.
- jqxQRcode
QR code generator with error-correction levels, colours and an embedded logo.
Scheduling and Planning #
- jqxScheduler
Calendar scheduler with day, week, month, timeline and agenda views, recurring appointments and resources.
- jqxGantt
Gantt chart with tasks, dependencies, milestones, resources and a task tree.
- jqxKanban
Kanban board with columns, swimlanes, drag-and-drop cards and templates.
AI and Collaboration #
- jqxChat
Chat UI with message list, typing indicator, attachments and AI assistant integration.
Editors and Inputs #
- jqxEditor
WYSIWYG HTML editor with a configurable toolbar, source view and paste cleanup.
- jqxForm
Form built from a JSON template of fields, groups and buttons, with layout and validation.
- jqxDateTimeInput
Masked date and time input with a drop-down calendar and range selection.
- jqxNumberInput
Numeric input with spin buttons, currency and percentage modes and min/max limits.
- jqxMaskedInput
Input that restricts typing to a mask such as phone numbers, zip codes or IDs.
- jqxFormattedInput
Numeric input for binary, octal, decimal and hexadecimal values.
- jqxPasswordInput
Password input with a show-password toggle and a strength indicator.
- jqxSlider
Horizontal or vertical slider with a single value or a range, ticks and tooltips.
- jqxFileUpload
File upload with multiple files, progress, validation and localisation.
Lists and Selection #
- jqxDropDownList
Drop-down list with check boxes, grouping, templates and filtering.
- jqxComboBox
Editable drop-down with auto-complete, multi-select tokens and remote search.
- jqxListBox
List with single or multiple selection, check boxes, grouping, filtering and drag-and-drop.
- jqxTree
Tree view with check boxes, drag-and-drop, load-on-demand and keyboard navigation.
Navigation and Menus #
- jqxTabs
Tabs with scrolling, closable and reorderable tabs, and lazy content loading.
- jqxMenu
Horizontal, vertical and context menus with nested submenus and keyboard support.
- jqxToolBar
Toolbar that holds buttons, inputs and drop-downs and collapses overflowing items into a menu.
Layout and Containers #
- jqxDockingLayout
Layout whose panels can be docked, floated and rearranged by drag-and-drop.
- jqxDocking
Dashboard of windows that can be dragged between columns, collapsed and closed.
- jqxResponsivePanel
Side panel that collapses into a toggle button on small screens.
Popups and Feedback #
- jqxWindow
Dialog window that can be modal, dragged, resized, collapsed and animated.