syncfusion-javascript-query-builder

Configure Syncfusion QueryBuilder for dynamic nested filter UIs in TypeScript apps.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-query-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: syncfusion-javascript-query-builder
Source: https://github.com/syncfusion/javascript-ui-controls-skills/tree/main/skills/syncfusion-javascript-query-builder
Command: npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-query-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Enables developers to create, manage, and persist complex filter UIs without reinventing query logic, reducing bugs and improving developer productivity when building data-driven TypeScript applications.

Core Features & Use Cases

  • Visual rule building: Compose nested AND/OR groups, single rules, and complex hierarchies without writing raw SQL or Mongo queries.
  • Data binding and export: Supports local arrays and remote DataManager sources, with JSON, parameterized SQL, and MongoDB import/export pathways.
  • Customization & integration: Custom templates for fields and values, drag-and-drop reordering, cloning/locking rules, accessibility (WCAG 2.1 AA) and RTL support for production apps.
  • Operational scenarios: Advanced search filters, report parameterization, ETL pre-filters, saved query templates, and server-side query generation for APIs.

Quick Start

Create a QueryBuilder in your TypeScript app by defining columns and dataSource, load an initial RuleModel, render it to your container, and then use getSqlFromRules or getParameterizedSql to export the built query.

Frequently Asked Questions about syncfusion-javascript-query-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build complex nested filter rules in a TypeScript web application?

You can visually build complex nested filter rules in TypeScript by configuring a query builder component with defined columns and data sources. This enables composing AND/OR groups and single rules without writing raw queries.

How do I generate SQL or MongoDB queries from a visual query builder?

Generating SQL or MongoDB queries from a visual query builder involves using API methods like getSqlFromRules or getParameterizedSql. These functions serialize the configured nested rules into JSON, parameterized SQL, or MongoDB query formats.

Can I bind remote data sources and define custom field templates in a query builder?

Yes, you can bind remote data sources using DataManager and define custom templates for fields and values. This allows integrating remote APIs while customizing the query builder interface for advanced search and filtering scenarios.

Does the Syncfusion QueryBuilder support accessibility and drag-and-drop interactions?

The query builder supports WCAG 2.1 AA accessibility, RTL support, and drag-and-drop interactions for reordering, cloning, or locking rules. These features ensure production-ready query building interfaces are accessible and interactive.

What is the best way to persist and import saved query templates for report parameterization?

Persisting and importing saved query templates is achieved through JSON serialization and import/export pathways. This approach enables storing configured rule hierarchies and reloading them for report parameterization or ETL pre-filters.

Do I need TypeScript to use a query builder for server-side query generation?

TypeScript is required to implement and configure the query builder for server-side query generation. It ensures correct API usage, initialization patterns, and model binding for exporting parameterized SQL or MongoDB queries.