when mouse over in an appoint,it will show a tooltip such as : 3pm-5pm Lunch(Cafe).But I want modified this tooltip like that :
Time : 3pm-5pmSubject : LunchLocation : CafeDescription : meeting a client
How I can do it?
Did you get an answer to the above question?
I want to display the 'Resource' name in the tooltip and cannot find a way to do it.
What about if I need get data from certain field value from database and display it in <DESCRIPTION>
Thank you.
I found the solution to my problem -- which may impact you as well. If you add a custom CSS class, you get your class added to the default class. Since it doesn't replace it, you don't actually overwrite the overflow settings. I found it best to modify the ig_monthview.css and ig_weekview.css documents.
When using the Office 2007 Silver style set, I got my desired results by adding this to the bottom of the CSS doc:
.igmv_Office2007SilverDay DIV DIV{ overflow: none; overflow-x: none; white-space: normal;}.igmv_Office2007SilverActiveDayHeader DIV{ overflow: none; overflow-x: none; white-space: normal;}.igmv_Office2007SilverOtherMonthDay DIV{ overflow: none; overflow-x: none; white-space: normal;}
I'm doing something similar on mine and also customizing the AppointmentFormatString to match. The problem I'm having with the appt in the generic display (not the tooltip) is that the Subject line flows off the right hand side and doesn't word-wrap. Is anyone familiar with an approach to modify that? I'm playing around with CSS now to see if that might get me what I need but I haven't had much luck yet. I'd also like the day cell to expand vertically if there are several appointments that day. I added a CSS class with "overflow: auto;" but this puts scrollbars on each day's cell, when I really want the user to scroll the entire page down instead.
-Doug
tamhoa,
If all you are looking for is to be able to accomplish this:
Then this should do the trick:
myDayView.AppointmentTooltipFormatString = "Time: <START_DATE_TIME>-<END_DATE_TIME><NEW_LINE>Subject: <SUBJECT><NEW_LINE>Location: <LOCATION><NEW_LINE>Description: <DESCRIPTION>";
Or were you looking to customize even further?