-
Notifications
You must be signed in to change notification settings - Fork 674
DataGrid: Add AI-powered Detail View Demo Desc. #34878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
arman-boyakhchyan
wants to merge
2
commits into
DevExpress:feature/add-demo-datagrid-ai-detail-view
Choose a base branch
from
arman-boyakhchyan:datagrid-ai-detail-view-demo-desc-26-2
base: feature/add-demo-datagrid-ai-detail-view
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+15
−4
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
apps/demos/Demos/DataGrid/AIPoweredDetailView/React/description.md
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,6 @@ | ||||||
| This demo incorporates AI-powered insights into DevExtreme [DataGrid](/Documentation/Guide/UI_Components/DataGrid/Overview/)'s [master-detail interface](/Documentation/Guide/UI_Components/DataGrid/Master-Detail_Interface/), extending the component's built-in AI data exploration capabilities. A custom AI-driven UI is configured that allows you to analyze individual record data using natural language. To access this UI and generate data, click the AI icon on the left side of a row and enter a prompt. | ||||||
|
|
||||||
| <!--split--> | ||||||
| This demo complements the DataGrid's built-in [AI columns](/Demos/WidgetsGallery/Demo/DataGrid/AIColumns/) capability, which generates data for every row in the component. The AI-powered detail view augments data only within specific rows. This significantly reduces AI token consumption and enhances data generation performance in usage scenarios that do not require generated data for every row. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| To display the AI-powered detail view, this demo defines the DataGrid's [master-detail template](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/masterDetail/#template). The template uses DevExtreme [TextBox](/Documentation/Guide/UI_Components/TextBox/Overview/) and [Button](/Documentation/Guide/UI_Components/Button/Overview/) components to allow you to enter and submit prompts. This example also configures a DevExtreme [ButtonGroup](/Documentation/Guide/UI_Components/ButtonGroup/Getting_Started_with_ButtonGroup/) component as prompt suggestions, mirroring the DevExtreme Chat's [Suggestions](/Demos/WidgetsGallery/Demo/Chat/PromptSuggestions/) capability. After you submit a prompt, generated responses appear in a DevExtreme [TextArea](/Documentation/Guide/UI_Components/TextArea/Getting_Started_with_TextArea/) component. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
6 changes: 6 additions & 0 deletions
6
apps/demos/Demos/DataGrid/AIPoweredDetailView/ReactJs/description.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| This demo incorporates AI-powered insights into DevExtreme [DataGrid](/Documentation/Guide/UI_Components/DataGrid/Overview/)'s [master-detail interface](/Documentation/Guide/UI_Components/DataGrid/Master-Detail_Interface/), extending the component's built-in AI data exploration capabilities. A custom AI-driven UI is configured that allows you to analyze individual record data using natural language. To access this UI and generate data, click the AI icon on the left side of a row and enter a prompt. | ||
|
|
||
| <!--split--> | ||
| This demo complements the DataGrid's built-in [AI columns](/Demos/WidgetsGallery/Demo/DataGrid/AIColumns/) capability, which generates data for every row in the component. The AI-powered detail view augments data only within specific rows. This significantly reduces AI token consumption and enhances data generation performance in usage scenarios that do not require generated data for every row. | ||
|
|
||
| To display the AI-powered detail view, this demo defines the DataGrid's [master-detail template](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/masterDetail/#template). The template uses DevExtreme [TextBox](/Documentation/Guide/UI_Components/TextBox/Overview/) and [Button](/Documentation/Guide/UI_Components/Button/Overview/) components to allow you to enter and submit prompts. This example also configures a DevExtreme [ButtonGroup](/Documentation/Guide/UI_Components/ButtonGroup/Getting_Started_with_ButtonGroup/) component as prompt suggestions, mirroring the DevExtreme Chat's [Suggestions](/Demos/WidgetsGallery/Demo/Chat/PromptSuggestions/) capability. After you submit a prompt, generated responses appear in a DevExtreme [TextArea](/Documentation/Guide/UI_Components/TextArea/Getting_Started_with_TextArea/) component. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,7 @@ | ||
| We plan to integrate AI-driven data exploration into the [DataGrid](https://js.devexpress.com/Documentation/Guide/UI_Components/DataGrid/Overview/)'s master-detail scenario. This new functionality allows users to analyze individual record data using natural language. | ||
| This demo incorporates AI insights into DevExtreme [DataGrid](/Documentation/Guide/UI_Components/DataGrid/Overview/)'s [master-detail interface](/Documentation/Guide/UI_Components/DataGrid/Master-Detail_Interface/), extending the component's built-in AI data exploration capabilities. This sample complements the DataGrid's built-in [AI columns](/Demos/WidgetsGallery/Demo/DataGrid/AIColumns/) capability, which generates data for every row in the component. The AI-powered detail view augments data only within specific rows, significantly reducing AI token consumption and enhancing data generation performance in usage scenarios that do not require generated data for every row. | ||
|
|
||
| In v25.2, we released the [AI column capability](https://www.devexpress.com/subscriptions/new-2025-2.xml#js-grids-ai-columns) for DataGrid. This feature introduced the ability to extend component data using an AI prompt. However, certain usage scenarios do not require generated data for every row. Instead, users may need on-demand data generation for specific rows. Our new AI detail scenario will offer this capability, which can significantly reduce AI token consumption and enhance data generation performance. | ||
| To access the AI detail view and generate data, click the AI icon on the left side of a row and enter a prompt. | ||
|
|
||
| <!--split--> | ||
| Our new AI master-detail feature will also display generated content in a format better suited to longer, more in-depth insights. The capability will include a prompt-driven data analysis UI within DataGrid master-detail interfaces, spanning the full width of the component. | ||
|
|
||
| Within the detail row, users will be able to ask questions about the active record and receive AI-generated insights. The AI assistant will be able to summarize record data, clarify complex values, highlight notable patterns, and obtain contextual information specific to the active record. | ||
| To display the AI-powered detail view, this demo defines the DataGrid's [master-detail template](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/masterDetail/#template). The template uses DevExtreme [TextBox](/Documentation/Guide/UI_Components/TextBox/Overview/) and [Button](/Documentation/Guide/UI_Components/Button/Overview/) components to allow you to enter and submit prompts. This example also configures a DevExtreme [ButtonGroup](/Documentation/Guide/UI_Components/ButtonGroup/Getting_Started_with_ButtonGroup/) component as prompt suggestions, mirroring the DevExtreme Chat's [Suggestions](/Demos/WidgetsGallery/Demo/Chat/PromptSuggestions/) capability. After you submit a prompt, the detail view expands and displays a DevExtreme [LoadPanel](/Documentation/Guide/UI_Components/LoadPanel/Overview/) while the AI processes your query. Generated responses appear in a DevExtreme [TextArea](/Documentation/Guide/UI_Components/TextArea/Getting_Started_with_TextArea/) component configured in [read-only mode](/Documentation/ApiReference/UI_Components/dxTextArea/Configuration/#readOnly). |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.