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

Row Header Image

Asked by LG
14 years ago.

I want to put an image in the row header each row will have a different image.

Can someone tell me why the code belowworks in DayPilot Lite but not in the Full version?

DayPilotScheduler1.Resources.Add("<img src='images/myimage.png' width='32' height='32' />", "Z");

Regards,

LG

Comment posted by Dan Letecky
14 years ago.

The Scheduler in the Pro version automatically applies HtmlEncode() to Resource names.

If you need to modify the resource header HTML, you should handle BeforeResHeaderRender event and change e.InnerHTML (the unencoded Resource name is available as e.Name).

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.