Hi Bhawesh,
Thanks for your interest in Syncfusion products.
DataManager is used to bind relational data to the grid dataSource. The required query operation performed on the data and thus the desired result is obtained.
Any adaptor type (such as webApi, OData, JSON and URL) can be set when dataManager is used for binding data to grid. For more information on DataManager, please refer the below online docmentation link.
Online Documentation Link:
http://help.syncfusion.com/ug/js/index.html#!Documents/overview13.htm
Online Documentation Link for Data Adaptors:
http://help.syncfusion.com/ug/js/index.html#!Documents/dataadaptors.htm
For your convenience, we have created a simple sample by binding dataSOurce to grid using Data Manager. The sample can be downloaded from the below location.
Sample Link:
http://www.syncfusion.com/downloads/support/forum/119310/ze/Sample-391576421
In the above sample, we have used webServices and have used
URLAdaptor in order to get the JSON data from the webservices. Please refer the below code snippet.
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
<ej:Grid ID="Grid" runat="server" AllowPaging="true">
<DataManager Adaptor="UrlAdaptor" URL="Default.aspx/GetDataSource" />
</ej:Grid>
</asp:Content>
|
Please get back to us if you need any further assistance.
Regards
Ragavee U S