# Angular Smart Grid Overview

The Smart Grid enhances the traditional [Angular Grid](https://www.telerik.com/kendo-angular-ui-develop/components/grid) with AI-powered capabilities that enable users to interact with data using natural language. These capabilities transform how users explore and manipulate Grid data, making complex operations more intuitive and accessible.

Smart Grid features are delivered through specialized tools that provide interfaces for natural language interaction and semantic understanding. These tools integrate with your backend AI service to interpret user requests and apply the corresponding Grid operations.

Explore the Smart Grid capabilities through the following examples:

<Row>
  <Column count={[24,24,12]}>
    <Component className="tile pd-b" href="/grid/smart-grid/ai-toolbar-tool">
      <ComponentTitle>AI Smart Box</ComponentTitle>
      <ComponentDescription>Versatile search box combining traditional search, semantic search, and AI-powered Grid operations.</ComponentDescription>
    </Component>
  </Column>
  <Column count={[24,24,12]}>
    <Component className="tile pd-b" href="/grid/smart-grid/semantic-search">
      <ComponentTitle>Semantic Search</ComponentTitle>
      <ComponentDescription>AI-enhanced search that interprets user intent and matches related terms and contextual meanings.</ComponentDescription>
    </Component>
  </Column>
  <Column count={[24,24,12]}>
    <Component className="tile pd-b" href="/grid/smart-grid/ai-chat-assistant">
      <ComponentTitle>AI Chat Assistant</ComponentTitle>
      <ComponentDescription >Conversational Chat interface for performing Grid operations through natural language commands.</ComponentDescription>
    </Component>
  </Column>
  <Column count={[24,24,12]}>
    <Component className="tile pd-b" href="/grid/smart-grid/ai-powered-row-highlight">
      <ComponentTitle>AI-Powered Row Highlight</ComponentTitle>
      <ComponentDescription>Intelligent row highlighting based on natural language criteria.</ComponentDescription>
    </Component>
  </Column>
  <Column count={[24,24,12]}>
    <Component className="tile pd-b" href="/grid/smart-grid/ai-toolbar-assistant">
      <ComponentTitle>AI Toolbar Assistant</ComponentTitle>
      <ComponentDescription>Natural language control over data operations, column management, selection, highlighting, and export.</ComponentDescription>
    </Component>
  </Column>
  <Column count={[24,24,12]}>
    <Component className="tile pd-b" href="/grid/smart-grid/ai-column-assistant">
      <ComponentTitle>AI Column Assistant</ComponentTitle>
      <ComponentDescription>Personalized insights and explanations for individual data records through natural language questions.</ComponentDescription>
    </Component>
  </Column>
</Row>

## Supported Operations

The Smart Grid tools support semantic search for intelligent data exploration and enable applying various Grid operations through natural language prompts:

<table>
    <thead>
        <tr>
            <th width="25%" style="font-size: 19px;">Category</th>
            <th width="75%" style="font-size: 19px;">Operations</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td><strong style="font-size: 19px;">Search</strong></td>
            <td>
                <ul>
                    <li style="font-size: 19px;"><strong>Semantic Search</strong>&mdash;Search data using natural language with semantic understanding that interprets intent and matches related terms and contextual meanings.</li>
                </ul>
            </td>
        </tr>
        <tr>
            <td><strong style="font-size: 19px;">Data Operations</strong></td>
            <td>
                <ul>
                    <li style="font-size: 19px;"><strong>Filtering</strong>&mdash;Filter data based on specific criteria.</li>
                    <li style="font-size: 19px;"><strong>Sorting</strong>&mdash;Sort data by one or multiple columns.</li>
                    <li style="font-size: 19px;"><strong>Grouping</strong>&mdash;Group data by specific fields.</li>
                    <li style="font-size: 19px;"><strong>Paging</strong>&mdash;Navigate to specific pages and change page size through natural language commands.</li>
                </ul>
            </td>
        </tr>
        <tr>
            <td><strong style="font-size: 19px;">Column Operations</strong></td>
            <td>
                <ul>
                    <li style="font-size: 19px;"><strong>Resize</strong>&mdash;Resize columns to specific widths.</li>
                    <li style="font-size: 19px;"><strong>Reorder</strong>&mdash;Change the order of columns.</li>
                    <li style="font-size: 19px;"><strong>Show/Hide</strong>&mdash;Show or hide specific columns.</li>
                    <li style="font-size: 19px;"><strong>Lock/Unlock</strong>&mdash;Lock or unlock columns to keep them visible while scrolling.</li>
                </ul>
            </td>
        </tr>
        <tr>
            <td><strong style="font-size: 19px;">Highlighting and Selection</strong></td>
            <td>
                <ul>
                    <li style="font-size: 19px;"><strong>Row/Cell Highlighting</strong>&mdash;Highlight specific rows or cells that meet certain conditions.</li>
                    <li style="font-size: 19px;"><strong>Row/Cell Selection</strong>&mdash;Select/deselect rows or cells based on criteria, or select/deselect all items.</li>
                </ul>
            </td>
        </tr>
        <tr>
            <td><strong style="font-size: 19px;">Export</strong></td>
            <td>
                <ul>
                    <li style="font-size: 19px;"><strong>Excel/PDF Export</strong>&mdash;Export Grid data to Excel or PDF format.</li>
                </ul>
            </td>
        </tr>
    </tbody>
</table>

> The [Smart Grid AI Assistant tools](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-assistant-tools-setup) can only apply operations that are enabled in your current Grid configuration. For example, if `filterable` is not set, you will not be able to perform filtering using these tools.

## Smart Grid Tools

The Smart Grid provides the following specialized toolbar tools that enable natural language interaction with your Grid data.

### AI Smart Box

The [AI Smart Box](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-toolbar-tool) is a versatile search box that combines traditional search functionality with AI-powered capabilities. It provides three distinct modes that you can enable independently or in combination:

* [Search Mode](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-toolbar-tool)—Traditional keyword-based filtering across the Grid columns.
* [Semantic Search Mode](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-toolbar-tool)—Enhanced search that interprets user intent and matches related terms, synonyms, and contextual meanings to find semantically relevant data in the Grid.
* [AI Assistant Mode](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-toolbar-tool)—Full AI-powered Grid control with the same capabilities as the [AI Toolbar Assistant](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-toolbar-assistant). Users can perform any [supported Grid operation](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid#supported-operations) through natural language prompts entered in the AI Assistant mode of the Smart Box.

The AI Smart Box is ideal when you want to provide a unified search and AI interaction experience in a single Grid toolbar control.

### AI Toolbar Assistant

> tip For an enhanced user experience with additional search capabilities, prompt suggestions, and streamlined UI, we recommend using the [AI Smart Box](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-toolbar-tool). The AI Smart Box combines traditional search, semantic search, and AI-powered operations in a single, unified interface.

The [AI Toolbar Assistant](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-toolbar-assistant) is a dedicated toolbar button with a distinctive AI sparkles icon that provides a streamlined interface for AI-powered Grid control, allowing users to enter natural language prompts to perform Grid operations.

This tool is ideal when you want to provide AI capabilities as a dedicated feature in your Grid toolbar, separate from other Grid controls. It offers a focused user experience specifically designed for performing [supported Grid operations](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid#supported-operations) through natural language prompts.

> For more information about setting up and integrating these tools, refer to the [AI Assistant Tools Setup](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-assistant-tools-setup) article.

## AI Service Configuration

The [Smart Grid AI Assistant tools](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-assistant-tools-setup) require a backend AI service that you must implement to process natural language prompts and return structured Grid operation commands. This service acts as the bridge between user prompts and Grid operations.

When a user interacts with the Smart Grid, your Angular application sends the prompt to your backend, which should process it using your configured AI provider, and return structured commands that the Grid can apply automatically.

### Smart Extensions

To simplify your backend implementation, we provide the `Telerik.AI.SmartComponents.Extensions` library for .NET applications. This library handles the complexity of interpreting natural language and generating Grid-compatible responses.

The library integrates with `Microsoft.Extensions.AI` and supports Azure OpenAI, OpenAI API, or local LLM models. It provides pre-built functionality for processing Grid-specific prompts and formatting responses correctly.

> For detailed implementation instructions, including package installation, AI provider configuration, and controller setup, see [AI Service Setup](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-service-setup).

### Custom Implementation

If you use a non-.NET backend (such as Node.js, Python, or Java) or have specific requirements that Smart Extensions does not cover, you can build your own AI service implementation.

Your custom backend must:

* Accept requests with the user's prompt and Grid column information.
* Process the prompt using your chosen AI provider or LLM.
* Return responses in the format that the Angular Grid expects.

Use the detailed information about the expected request and response structures from the [AI Service Setup](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-service-setup#request-and-response-format) article to build a compatible custom service.

## Suggested Links

* [Smart Grid AI Assistant Tools Setup](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-assistant-tools-setup)
* [AI Service Setup](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-service-setup)
* [AI Toolbar Assistant](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-toolbar-assistant)
* [AI Chat Assistant](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-chat-assistant)
* [AI Column Assistant](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-column-assistant)
* [AI-Powered Row Highlight](https://www.telerik.com/kendo-angular-ui-develop/components/grid/smart-grid/ai-powered-row-highlight)
* [Angular Grid Overview](https://www.telerik.com/kendo-angular-ui-develop/components/grid)
* [Grid Data Operations](https://www.telerik.com/kendo-angular-ui-develop/components/grid/data-operations)



<style>
.pd-b div:first-child {
  padding-top: 10px;
}
</style>
