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

Edit xlsx file after import using javascript

how I can edit some cells in xlsx file after imported in spreadsheet using javascript ejspreadsheet

I use this code but it doesn't work 



Attachment: test2_1503c0f6.rar

3 Replies

VK Vinoth Kumar Sundara Moorthy Syncfusion Team September 20, 2019 07:23 AM UTC

Hi Saddam, 
 
Thank you for contacting Syncfusion support. 
 
We have checked your reported issue with provided code snippet and found Spreadsheet instance was not properly created. Also, we would like to let you know that you can get the Spreadsheet instance in loadComplete event as like in the below code example, 
 
Code Example  
$("#Spreadsheet").ejSpreadsheet({ 
    //.. 
    loadComplete: "loadComplete", 
}); 
function loadComplete(args) { 
    //To update cell value 
    this.XLEdit.updateValue("B3", "test"); 
} 
 
 
Please check more details about updateValue method from below link, 
 
Please check the below UG link to know more details about editing in Spreadsheet, 
 
Could you please check the above sample and get back to us if you need any further assistance on this? 
 
Regards, 
Vinoth Kumar S 



SA saddam September 20, 2019 09:25 PM UTC

a lot of  thanks for helping me <3 <3 


VK Vinoth Kumar Sundara Moorthy Syncfusion Team September 23, 2019 06:03 AM UTC

Hi Saddam, 
 
You are most welcome. Please feel free to contact us if you need any further assistance on Syncfusion components. 
 
Regards, 
Vinoth Kumar S 


Loader.
Live Chat Icon For mobile
Up arrow icon