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
close icon

Update cell ajax on success

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.

1 Reply

TS Thavasianand Sankaranarayanan Syncfusion Team 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. 


Loader.
Live Chat Icon For mobile
Up arrow icon