|
1 | | -# Customize Autogenerated Columns using Data Annotations in an ASP.NET Core DataGrid |
| 1 | +# Customize Autogenerated Columns Using Data Annotations in an ASP.NET Core DataGrid |
2 | 2 |
|
3 | | -A quick-start project that helps to use data annotations to customize autogenerated columns in the Syncfusion ASP.NET Core DataGrid. This project also contains code to enable data annotation attributes like display, display format, key, and editable. |
| 3 | +A quick-start project that helps to use data annotations to customize autogenerated columns in the Syncfusion ASP.NET Core DataGrid. You can apply attributes like Display, DisplayFormat, and ReadOnly to modify the appearance and behavior of auto-generated columns. |
4 | 4 |
|
5 | | -The ASP.NET Core DataGrid is a feature-rich control for displaying data in a tabular format. Its functionalities include data binding, editing, Excel-like filtering, aggregating rows, custom sorting, selection. It supports Excel, CSV, and PDF formats. |
| 5 | +--- |
| 6 | +Documentation: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-annotation |
6 | 7 |
|
7 | | -Data annotations documentation for the Syncfusion ASP.NET Core DataGrid control: |
8 | | -https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-annotation |
| 8 | +Demo: https://ej2.syncfusion.com/aspnetcore/Grid/DataAnnotation#/fluent |
9 | 9 |
|
10 | | -Check out this online example of a data annotation in the Syncfusion ASP.NET Core DataGrid control: |
11 | | -https://ej2.syncfusion.com/aspnetcore/Grid/DataAnnotation#/fluent |
| 10 | +--- |
| 11 | +## Project pre-requisites |
| 12 | +Make sure you have compatible versions of the following IDE and framework installed on your machine before starting this project: |
12 | 13 |
|
13 | | -Watch this video to get started with the ASP.NET Core DataGrid control: |
14 | | -https://www.youtube.com/watch?v=E5w2fO-N9gE |
15 | | - |
16 | | -## Project pre-requisites |
| 14 | +* .NET SDK 6.0 ([.NET ](https://dotnet.microsoft.com/en-us/download)) |
| 15 | +* Visual Studio 2022 ([Visual studio](https://visualstudio.microsoft.com/downloads/)) or later |
17 | 16 |
|
18 | | -Make sure that you have the compatible versions of Visual Studio 2022 and .NET 7.0 SDK framework in your machine before starting to work on this project. |
| 17 | +--- |
| 18 | +To learn more about the supported IDE and frameworks for our ASP.NET Core controls, please refer to the documentation below: |
| 19 | +https://ej2.syncfusion.com/aspnetcore/documentation/system-requirements |
| 20 | + |
| 21 | +## How to run this application: |
19 | 22 |
|
20 | | -### How to run this application? |
| 23 | +To run this application, clone the `customize-autogenerated-columns-using-data-annotations-in-an-aspdotnet-core-datagrid` repository and open it in Visual Studio. Install the necessary NuGet packages via the package manager, then build and run the project by pressing the F5 key. |
21 | 24 |
|
22 | | -To run this application, you need to clone the `customize-autogenerated-columns-using-data-annotations-in-an-aspdotnet-core-datagrid` repository and then open it in Visual Studio Code. Now, simply run the project by pressing the `F5` command. |
|
0 commit comments