We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

data binding

Hello Syncfusion team,

I am using syncfusion for ASP.Net MVC  (12.4.0.24) grid, my aim is to load data on demand, and as the documentation suggests I need to use oData binding. 
Could you please provide a complete example. How do I configure the oData service.

Thanks

3 Replies

AS Alan Sangeeth S Syncfusion Team January 20, 2015 12:56 PM UTC

Hi Shushan,

Thanks for using Syncfusion Products.

We are glad to let you know that we can achieve your requirement (“On-demand paging using odata”) using the “DataSource” property of Grid that uses the odata service link. Please refer the following code snippets.

@(Html.EJ().Grid<EJGrid.Models.Order>("Grid")

                .Datasource("/odata/Orders")

.AllowPaging()

...

)

For your convenience we have created a sample and the same can be downloaded from below link.

Sample: http://www.syncfusion.com/downloads/support/directtrac/117996/EJGrid1997020423.zip

Please let us know if you have any queries.

Regards,
Alan Sangeeth S




SP SP January 22, 2015 07:12 AM UTC

Hi Alan Sangeeth,

Thanks for the response, it's helpful. 



AS Alan Sangeeth S Syncfusion Team January 23, 2015 05:36 AM UTC

Hi Shushan,

Thanks for the update.

We are happy to hear that your requirement has been achieved.

Please let us know if you need any further assistance.

Regards,
Alan Sangeeth S



Loader.
Live Chat Icon For mobile
Up arrow icon