Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/syncfusionexamples/binding-expando-and-dynamic-objects-to-the-aspdotnet-core-datagrid

A quick start ASP.NET Core web application that shows how to bind the Expando and Dynamic Objects to a Data Grid.
https://github.com/syncfusionexamples/binding-expando-and-dynamic-objects-to-the-aspdotnet-core-datagrid

aspdotnetcore-datagrid aspdotnetcore-datagrid-binding aspdotnetcore-datagrid-dynamic-object-binding aspdotnetcore-datagrid-expando-object-binding aspdotnetcore-datagrid-list-binding aspdotnetcore-datatable

Last synced: 7 days ago
JSON representation

A quick start ASP.NET Core web application that shows how to bind the Expando and Dynamic Objects to a Data Grid.

Awesome Lists containing this project

README

        

# Binding Expando and Dynamic Objects to the ASP.NET Core DataGrid Control

A quick start ASP.NET Core web application demonstrating how to bind a dynamic list of objects using Expando and Dynamic Objects using Syncfusion Grid Control.

* `ExpandoObject`: Allows dynamic members to be added or removed at runtime, useful for binding data to a Data Grid without a predefined model.
* `DynamicObject`: Enables runtime definition of object structure and behavior by inheriting from DynamicObject and overriding methods like TryGetMember, TrySetMember, and GetDynamicMemberNames.

## Documentations:
* Expando Object: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/local-data#expandoobject-binding
* Dynamic Object: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/local-data#dynamicobject-binding
* Data Binding: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/remote-data
* Table Binding: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/data-table
---
Demo: https://ej2.syncfusion.com/aspnetcore/Grid/DefaultFunctionalities#/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, you need to clone the `binding-expando-and-dynamic-objects-to-the-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 using the Visual Studio interface.