Posted 8 September 2017, 8:40 am EST
Hi folks,
I need to be able to click a link on the spread, and toggle the link once clicked. When I create the new HTML and add it to the cell, it doesn’t work. Viewing source doesn’t seem to work for some reason also. I get a <a displayed, so it looks to me as if it’s truncating the text at the space.
I couldn’t escape the HTML properly, but I know it looks OK because I can display it in an alert properly. On the server side I call SaveChanges() to get this to initialize properly.
function toggleValue(rowIndex) { var value = spreadControl.GetValue(rowIndex, 2); var htmlString; if(value < 0) { htmlString = ‘the html’ } else if(value >= 0) { htmlString = ‘the html’ } spreadControl.SetValue(rowIndex, 1, htmlString); } |
Any help would be greately appreciated. We’re going to buy the spread if we can just do a few simple proof of concept things.
Regards,
Dustin Aleksiuk