Hi guys. I have some questions about the WinGanttView. Is it possible to highlight current date(day/week/year)? And how to set the timeline date center at specific date?
Thanks for any suggestion!
Thanks Georgi, that works perfect.
Regrads,
Andy.
Hello Andy,
As far as I know there are not such kind of function. We have properties to change the header appearance, but not for specific header (current date). At that moment this behavior could be acheive with drawfilter. With small modifications in my previous sample, you could change the appearance of specific header. Please let me know if you have any questions.
Regards
Georgi
Hi Georgi,
Thank you for your post.
Yes, EnsureDateTimeVisible(DateTime.Today) function did solve my problem very well. About the highlight problem, I'm thinking is there a function to set the specific header(current date) backcolor?
Thanks.
Regards,
Hi,
Maybe one possible approach to highlight current date could be if you are using drawfilter. Please take a look at the attached sample for more details. About your quesiton
feng0hua0 said:And how to set the timeline date center at specific date?