Add Query Builder React samples (Overview and Template) #1023
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #998
Ports two Query Builder samples from Web Components to React: a basic Overview sample with Grid integration and API calls, and a Template sample demonstrating custom search value templates.
Sample 1: Query Builder Overview
Path:
samples/interactions/query-builder/overview/https://data-northwind.indigo.design/QueryBuilder/ExecuteQuery)Sample 2: Query Builder Template
Path:
samples/interactions/query-builder/template/searchValueTemplateimplementations per field type:Implementation
Uses
igniteui-webcomponents-grids@6.3.0-alpha.2with React functional components. Web components registered via.register()with JSX type declarations:Custom template example:
Screenshots
Overview Sample

Template Sample - Custom Select

Template Sample - Custom Radio Buttons

Original prompt
Add QueryBuilder React Samples
Context
Port 2 Query Builder samples from Web Components (WC) to React, based on:
Requirements
Sample 1: Query Builder Overview
Location:
samples/interactions/query-builder/overview/Reference WC Implementation:
Features to implement:
https://data-northwind.indigo.design/QueryBuilder/ExecuteQueryKey Implementation Details:
Sample 2: Query Builder Template
Location:
samples/interactions/query-builder/template/Reference WC Implementation:
Features to implement:
searchValueTemplateprop usage (from Angular Elements)Key Implementation Details:
Technical Specifications
Package Versions (CRITICAL)
{ "igniteui-webcomponents-grids": "6.3.0-alpha.2", "igniteui-react": "19.5.0-beta.2", "igniteui-react-core": "19.5.0-beta.2" // or compatible version }File Structure (per sample)
Follow existing React examples pattern:
React Component Patterns
useState,useEffect)This pull request was created from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.