add DataGrid semantic search demo#34098
Open
flagmanAndrew wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new DataGrid “Semantic Search” demo to the demos app, providing implementations for jQuery, React (TS), React (JS), Angular, and Vue that query a remote ASP.NET backend with semantic search parameters.
Changes:
- Introduces new demo pages (HTML entrypoints + app code) for each framework approach under
apps/demos/Demos/DataGrid/SemanticSearch/. - Implements a shared UX pattern across approaches: DataGrid with remote operations + virtual scrolling + search panel + “Similarity Factor” NumberBox in the toolbar.
- Wires the demo to
https://js.devexpress.com/Demos/NetCore/api/DataGridSemanticSearchviadevextreme-aspnet-data-nojquery.
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| apps/demos/Demos/DataGrid/SemanticSearch/Vue/index.ts | Vue bootstrap (createApp + mount). |
| apps/demos/Demos/DataGrid/SemanticSearch/Vue/index.html | Vue demo HTML host + SystemJS/TypeScript loader setup. |
| apps/demos/Demos/DataGrid/SemanticSearch/Vue/App.vue | Vue DataGrid implementation + remote store params + toolbar NumberBox. |
| apps/demos/Demos/DataGrid/SemanticSearch/ReactJs/styles.css | React (JS) demo CSS helper for toolbar alignment. |
| apps/demos/Demos/DataGrid/SemanticSearch/ReactJs/index.js | React (JS) bootstrap (ReactDOM.render). |
| apps/demos/Demos/DataGrid/SemanticSearch/ReactJs/index.html | React (JS) demo HTML host + SystemJS loader. |
| apps/demos/Demos/DataGrid/SemanticSearch/ReactJs/App.js | React (JS) DataGrid implementation + remote store params. |
| apps/demos/Demos/DataGrid/SemanticSearch/React/styles.css | React (TS) demo CSS helper for toolbar alignment. |
| apps/demos/Demos/DataGrid/SemanticSearch/React/index.tsx | React (TS) bootstrap (ReactDOM.render). |
| apps/demos/Demos/DataGrid/SemanticSearch/React/index.html | React (TS) demo HTML host + SystemJS loader. |
| apps/demos/Demos/DataGrid/SemanticSearch/React/App.tsx | React (TS) DataGrid implementation + remote store params. |
| apps/demos/Demos/DataGrid/SemanticSearch/jQuery/index.js | jQuery DataGrid implementation + remote store params. |
| apps/demos/Demos/DataGrid/SemanticSearch/jQuery/index.html | jQuery demo HTML host. |
| apps/demos/Demos/DataGrid/SemanticSearch/Angular/index.html | Angular demo HTML host + SystemJS loader. |
| apps/demos/Demos/DataGrid/SemanticSearch/Angular/app/app.component.ts | Angular standalone component + remote store params + event handling. |
| apps/demos/Demos/DataGrid/SemanticSearch/Angular/app/app.component.html | Angular DataGrid template + toolbar NumberBox + search handling. |
Comments suppressed due to low confidence (1)
apps/demos/Demos/DataGrid/SemanticSearch/Vue/App.vue:96
- Toolbar items use
css-class="align-bottom", but there’s no CSS rule for.align-bottom.dx-toolbar-itemin this Vue demo, so the alignment tweak won’t apply. Add the missing rule (same as the React variants).
</script>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
jquery, react, angular, vue implementations for the new demo