Skip to content

Commit 2969a40

Browse files
author
Anto Gibson
authored
Update README.md
1 parent dba6dc6 commit 2969a40

File tree

1 file changed

+18
-28
lines changed

1 file changed

+18
-28
lines changed

README.md

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,30 @@
11
# Binding Expando and Dynamic Objects to the ASP.NET Core DataGrid Control
22

3-
A quick start ASP.NET Core web application that shows how to bind the Expando and Dynamic Objects to a Data Grid.
3+
A quick start ASP.NET Core web application demonstrating how to bind a dynamic list of objects using Expando and Dynamic Objects using Grid Control.
44

5-
The expando-Object is a class that allows you to add and delete a member of its instance at runtime and to set and get their values. Usually, the ASP.NET Core DataGrid is strongly bound to a data source model type. To define the model type at runtime, you can use this expando object class.
5+
* `ExpandoObject`: Allows dynamic members to be added or removed at runtime, useful for binding data to a Data Grid without a predefined model.
6+
* `DynamicObject`: Enables runtime definition of object structure and behavior by inheriting from DynamicObject and overriding methods like TryGetMember, TrySetMember, and GetDynamicMemberNames.
67

7-
The dynamic object class enables you to define the structure of an object at runtime, specifying the operations to be performed and how to perform those. You cannot directly create an instance of the dynamic object class. To implement the dynamic behavior, inherit a dynamic dictionary from the dynamic object class and override the TryGetMember, ‘TrySetMember’ and ‘GetDynamicMemberNames’ methods.
8+
## Documentations:
9+
* Expando Object: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/local-data#expandoobject-binding
10+
* Dynamic Object: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/local-data#dynamicobject-binding
11+
* Data Binding: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/remote-data
12+
* Table Binding: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/data-table
13+
---
14+
Demo: https://ej2.syncfusion.com/aspnetcore/Grid/DefaultFunctionalities#/fluent
815

9-
Refer to the expando object binding documentation for the Syncfusion ASP.NET Core DataGrid control:
10-
https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/local-data#expandoobject-binding
1116

12-
Refer to the dynamic object binding documentation for the Syncfusion ASP.NET Core DataGrid control:
13-
https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/local-data#dynamicobject-binding
14-
15-
Check out this online example of exporting in the Syncfusion ASP.NET Core DataGrid control:
16-
https://ej2.syncfusion.com/aspnetcore/Grid/ExpandoObjectBinding#/fluent
17-
18-
Check out this online example of exporting in the Syncfusion ASP.NET Core DataGrid control:
19-
https://ej2.syncfusion.com/aspnetcore/Grid/DynamicObjectBinding#/fluent
20-
21-
Refer to the list binding documentation for the Syncfusion ASP.NET Core DataGrid control:
22-
https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/local-data#list-binding
23-
24-
Refer to the remote data binding documentation for the Syncfusion ASP.NET Core DataGrid control:
25-
https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/remote-data
26-
27-
Refer to the data table binding documentation for the Syncfusion ASP.NET Core DataGrid control:
28-
https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/data-table
17+
## Project pre-requisites
18+
Make sure that you have compatible versions of
19+
* .NET SDK installed ([.NET ](https://dotnet.microsoft.com/en-us/download))
20+
* Visual Studio 2022 ([Visual studio](https://visualstudio.microsoft.com/downloads/)) or later
2921

30-
Watch the video to get started with the ASP.NET Core DataGrid control:
31-
https://www.youtube.com/watch?v=E5w2fO-N9gE
22+
installed in your machine before starting to work on this project
3223

3324

34-
## Project pre-requisites
25+
### How to run this application:
3526

36-
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.
27+
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.
3728

38-
### How to run this application?
3929

40-
To run this application, you need to clone the `binding-expando-and-dynamic-objects-to-the-aspdotnet-core-datagrid` repository and then open it in Visual Studio Code. Now, simply install all the necessary react packages into your current project by pressing the `F5` command.
30+
#### Note: If you encounter any package errors, clean the project and rebuild.

0 commit comments

Comments
 (0)