i have a grid with acolumn of type img.
When i use the function grid.cells(rId,cInd).setValue(some_value), where ‘some_value’ contains javascript function then it is not possible to remove the function when i change the image.
Here is an example
var myValue = "…/images/someImage.png^hint^javascript:doSomething()^_self;
grid.cells(rId,cInd).setalue(myValue);
The result is as expected. BUT then when i try change the image like this:
myValue = “…/images/someImage_disabled.png”;
grid.cells(rId,cInd).setValue(myValue);
i get the cell updated with the new image but the javascript function from the previous example is still there.
How can i get rid of the javascript function?