Posted 30 May 2019, 9:46 am EST
It’s possible to change the mentioned properties of an ImageCellType with JavaScript on client side?
Thanks
Forums Home / Spread / Spread for ASP.NET (Web Forms)
Posted by: sistemas on 30 May 2019, 9:46 am EST
Posted 30 May 2019, 9:46 am EST
It’s possible to change the mentioned properties of an ImageCellType with JavaScript on client side?
Thanks
Posted 30 May 2019, 7:44 pm EST
Hello,
For changing the ImageCellType ImageUrl and Value (InnerText) at ClientSide, we need to Get the Cell Element and modify parameters using DOM manipulation.
Please refer to the following code snippet for reference:
var imgCell=FpSpread1.Cells(1,1)
imgCell.innerText="Text Change";
imgCell.querySelector("img").src="image_url";
Hope it helps!
Regards,
Manish Gupta