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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is URL Adapter the only way to save to server?

Thread ID:

Created:

Updated:

Platform:

Replies:

146124 Jul 22,2019 04:57 AM UTC Jul 24,2019 01:16 PM UTC ASP.NET Core - EJ 2 2
loading
Tags: DataGrid
Mark Tannehill
Asked On July 22, 2019 04:57 AM UTC

I have a page that I'm loading in a view model, inside this view model has a data source. I'm binding inside my page to that data source via:


 <ejs-grid id="GridOverview" allowFiltering="true" allowSorting="true" dataSource="@Model.GridData">

I'm wanting to update my values using Batch Update.... or any update for that matter.... What I've found is that I'm required to use the URL adapter for editing/saving but then I can't bind with my current data source. 

Meaning I have to now put my dataSource as a new controller method and cannot keep what's show above.


Is there any other way to send updates to the server other than this URL adapter? 


Mark Tannehill
Replied On July 23, 2019 01:32 PM UTC

Essentially, wanting to do something of this nature...

    <ejs-grid id="GridOverview" allowFiltering="true" allowSorting="true" dataSource="@Model.GridData"
                      toolbar="@(new List<string>() {"Update", "Cancel"})" rowHeight="38" enableHover="true" enableVirtualization="true" allowSelection="true">
                <e-data-manager updateUrl="/Measure/Update"  adaptor="UrlAdaptor"></e-data-manager>
    ...
   </ejs-grid>

Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On July 24, 2019 01:16 PM UTC

Hi Mark, 

Thanks for contacting Syncfusion support. 

From your query, we found that you want to perform the server side CRUD actions for the local datasource. So, we suggest you to use remoteSaveAdaptor feature to achieve this requirement. Please refer the below documentation to know more details about remoteSaveAdaptor, 


Regards, 
Seeni Sakthi Kumar S.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon