|
1 | | -# ASP.MET CORE DataGrid - Cascading Dropdown Remote Data Editing in Data Binding |
| 1 | +# EJ2 DataGrid Cascading DropDown with Remote Data (ASP.NET Core) |
2 | 2 |
|
3 | | -This sample explains about how to achieve the cascading dropdown with remote data-binding in the ASP.NET Core DataGrid inline editing. |
| 3 | +This repository demonstrates how to implement cascading DropDownList editors inside a Syncfusion Essential JS 2 (EJ2) DataGrid using remote data binding in an ASP.NET Core application. |
| 4 | + |
| 5 | +## Overview |
| 6 | + |
| 7 | +The sample shows a real-world editing scenario where the available values of one column’s DropDownList depend on the selection made in another column. Data is fetched dynamically from remote services during Grid editing, ensuring that the dependent dropdown values are always in sync with the selected parent field. |
| 8 | + |
| 9 | +This approach is commonly used in enterprise applications for scenarios such as Country–State selection, Category–Product mapping, or any hierarchical data relationships within tabular editing workflows. |
| 10 | + |
| 11 | +## Key Features |
| 12 | + |
| 13 | +- Syncfusion EJ2 DataGrid with inline editing |
| 14 | +- Cascading DropDownList editors |
| 15 | +- Remote data binding using ASP.NET Core controllers |
| 16 | +- Dynamic filtering of child dropdown based on parent selection |
| 17 | +- Clean separation of client-side and server-side logic |
4 | 18 |
|
5 | 19 | ## Prerequisites |
6 | 20 |
|
7 | | -* Visual Studio 2022 |
| 21 | +- .NET Core SDK |
| 22 | +- Visual Studio 2019 or later |
| 23 | +- Syncfusion EJ2 ASP.NET Core packages |
| 24 | +- Valid Syncfusion license or trial setup |
| 25 | + |
| 26 | +## Getting Started |
| 27 | + |
| 28 | +1. Clone the repository. |
| 29 | +2. Restore NuGet packages. |
| 30 | +3. Configure Syncfusion license key if required. |
| 31 | +4. Run the application and navigate to the Grid page. |
| 32 | +5. Edit a row to see cascading dropdown behavior in action. |
8 | 33 |
|
9 | | -## How to run the project |
| 34 | +## Resources |
10 | 35 |
|
11 | | -* Checkout this project to a location in your disk. |
12 | | -* Open the solution file using the Visual Studio 2022. |
13 | | -* Restore the NuGet packages by rebuilding the solution. |
14 | | -* Run the project. |
| 36 | +- https://ej2.syncfusion.com/aspnetcore/documentation/grid/editing/edit-types#render-cascading-dropdownlist-in-edit-form |
0 commit comments