Code Monkey home page Code Monkey logo

syncfusionexamples / binding-expando-and-dynamic-objects-to-the-aspdotnet-core-datagrid Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 1006 KB

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

HTML 39.52% C# 47.79% CSS 10.77% JavaScript 1.93%
aspdotnetcore-datagrid aspdotnetcore-datagrid-binding aspdotnetcore-datagrid-dynamic-object-binding aspdotnetcore-datagrid-expando-object-binding aspdotnetcore-datagrid-list-binding aspdotnetcore-datatable

binding-expando-and-dynamic-objects-to-the-aspdotnet-core-datagrid's Introduction

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

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

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.

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.

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

Refer to the dynamic object binding documentation for the Syncfusion ASP.NET Core DataGrid control: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/local-data#dynamicobject-binding

Check out this online example of exporting in the Syncfusion ASP.NET Core DataGrid control: https://ej2.syncfusion.com/aspnetcore/Grid/ExpandoObjectBinding#/fluent

Check out this online example of exporting in the Syncfusion ASP.NET Core DataGrid control: https://ej2.syncfusion.com/aspnetcore/Grid/DynamicObjectBinding#/fluent

Refer to the list binding documentation for the Syncfusion ASP.NET Core DataGrid control: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/local-data#list-binding

Refer to the remote data binding documentation for the Syncfusion ASP.NET Core DataGrid control: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/remote-data

Refer to the data table binding documentation for the Syncfusion ASP.NET Core DataGrid control: https://ej2.syncfusion.com/aspnetcore/documentation/grid/data-binding/data-table

Watch the video to get started with the ASP.NET Core DataGrid control: https://www.youtube.com/watch?v=E5w2fO-N9gE

Project pre-requisites

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.

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 then open it in Visual Studio Code. Now, simply install all the necessary react packages into your current project by pressing the F5 command.

binding-expando-and-dynamic-objects-to-the-aspdotnet-core-datagrid's People

Contributors

maithiliyk avatar sarubala20 avatar syncfusionbuild avatar vinoth-kumar-s avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

vinoth-kumar-s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.