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

Update cell ajax on success

Thread ID:

Created:

Updated:

Platform:

Replies:

143441 Mar 20,2019 12:05 PM UTC Mar 20,2019 12:36 PM UTC ASP.NET Core - EJ 2 1
loading
Tags: DataGrid
Blazej
Asked On March 20, 2019 12:05 PM UTC

Hello,
I have:
ajax.onSuccess = function (data) {
setTimeout(
() => {
var toastObj = document.getElementById('element').ej2_instances[0];
toastObj.content = data.message;
toastObj.target = document.body;
toastObj.show();
}, 1000);
if (!ej.base.isNullOrUndefined(data.data)) {
//grid.refresh();
}
};
From data.data i get changed record from server side.
I need find in current grid specific row by compare Id from data.data, and change value of specific cells in grid, without refreshing.

Thavasianand Sankaranarayanan [Syncfusion]
Replied On March 20, 2019 12:36 PM UTC

Hi Blazej, 

Greetings from Syncfusion support. 

Based on your query we suspect that you want to update a particular cell value in Grid. 

We can achieve your requirement using setCellValue method of Grid. 

Refer the help documentation. 


Please let us know if you need further assistance on this. 

Regards, 
Thavasianand 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