How to Bind Data to the React DataGrid Component
17.2 هزار بار بازدید -
5 سال پیش
-
Wondering how to bind external
Wondering how to bind external data to the React DataGrid? On this episode of React DataGrid, you will see how to bind the React DataGrid with local JSON and remote data using the Data Manager and AJAX libraries.
The easiest way to populate the React DataGrid is by binding a simple JSON object collection. However, you can bind a remote URL service to the React DataGrid by using the DataManager, AJAX, fetch API or any HTTP clients like Axios, which will fetch the data from the remote server and populate the Data Grid.
Apart from these data binding options, you will also see the following topics:
- How to create a custom adaptor and add a new column with auto generated values.
- How to perform all grid operations in the client side using offline mode.
- How to send additional query parameters to the server.
To learn how to get started with the React DataGrid, watch my previous video:
https://www.seevid.ir/fa/w/QNwcXokKc70
To learn more about remote data binding, visit the following documentation:
https://ej2.syncfusion.com/react/documentation/grid/data-binding/#remote-data
GitHub Sample Link: https://github.com/SyncfusionExamples/binding-local-json-and-remote-data-to-the-react-data-grid
[00:00] - Introduction
[00:26] – Bind local JSON to the React DataGrid
[01:14] – Bind an external data source to the React DataGrid
[02:56] – Custom Adaptor
[04:18] – Enabling Offline Mode
[04:36] – Sending Query parameters to the server
[05:06] – How to bind external data using AJAX, fetch and Axios
REACT DATAGRID
------------------
Product overview: http://bit.ly/2nxdkBE
Examples: http://bit.ly/2oTLobx
Documentation: http://bit.ly/2oWM8wx
Download free trial: http://bit.ly/2mCVGfp
GitHub source: http://bit.ly/2mE6Kcl
npmjs package: http://bit.ly/2oTHHTc
SUBSCRIBE
----------
Syncfusion on YouTube: http://bit.ly/syncfusionyoutube
Sign up to receive email updates: http://bit.ly/syncfusionemail
SOCIAL COMMUNITY
-------------
Facebook: https://www.facebook.com/Syncfusion/
Twitter: https://twitter.com/Syncfusion
LinkedIn: https://www.linkedin.com/company/syncfusion
#reactgrid #reactdatagrid #reactdatatable
5 سال پیش
در تاریخ 1398/08/10 منتشر شده
است.
17,249
بـار بازدید شده