You shouldn’t need to use the single apostrophes in your response string. Try:
this.cal1.addRenderer(o.responseText, this.cal1.renderCellStyleHighlight1 );
The dates should parse properly if you pass them in that way. If it still doesn’t work, please post an example of what your responseText looks like. You’ll want to make sure it has no line breaks.
Web Developer, Platform Engineering
Hey guys, I'm doing a little remoting call that returns a string like this:
to which I pass to the addRenderer like so:
this.cal1.addRenderer( "'" + o.responseText + "'", this.cal1.renderCellStyleHighlight1 );
But only the last date is being highlighted.... any ideas?