Skip to content

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.

Notifications You must be signed in to change notification settings

SyncfusionExamples/customize-autogenerated-columns-using-data-annotations-in-an-aspdotnet-core-datagrid

Repository files navigation

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:


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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published