search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Event innerHTML when Printing

Asked by steve65
14 years ago.
The new print export function works great thanks.

But one problem I've found is that any html code added to the InnerHtml of an event just shows as text rather than rendered html.

example e.InnerHTML = "<span class='red'>ALERT</span> & e.InnerHTML
Comment posted by Dan Letecky
14 years ago.
Since it's too difficult to implement HTML rendering, you should adjust your InnerHTML depending on DayPilotCalendar.IsExport value (true during export).
I'm considering the following improvements for the future:
  1. adding a simplified HTML rendering (selected tags like <b>, <a>, <img>)
  2. option to render the event rectangle manually in BeforeEventRender
I believe #2 would be more powerful.
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.