Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/syncfusionexamples/customize-autogenerated-columns-using-data-annotations-in-an-aspdotnet-core-datagrid

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.
https://github.com/syncfusionexamples/customize-autogenerated-columns-using-data-annotations-in-an-aspdotnet-core-datagrid

aspdotnetcore-datagrid aspdotnetcore-datagrid-annotation aspdotnetcore-datagrid-display-attribute aspdotnetcore-datagrid-display-format-attribute aspdotnetcore-datagrid-editable-attribute aspdotnetcore-datagrid-key-attribute aspdotnetcore-datatable data-annotation datagrid datatable

Last synced: 26 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# Customize Autogenerated Columns Using Data Annotations in an ASP.NET Core DataGrid

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.

---
Documentation: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-annotation

Demo: https://ej2.syncfusion.com/aspnetcore/Grid/DataAnnotation#/fluent

---
## Project pre-requisites
Make sure you have compatible versions of the following IDE and framework installed on your machine before starting this project:

* .NET SDK 6.0 ([.NET ](https://dotnet.microsoft.com/en-us/download))
* Visual Studio 2022 ([Visual studio](https://visualstudio.microsoft.com/downloads/)) or later

---
To learn more about the supported IDE and frameworks for our ASP.NET Core controls, please refer to the documentation below:
https://ej2.syncfusion.com/aspnetcore/documentation/system-requirements

## How to run this application:

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.