GWT DatePicker +CSS

36 views
Skip to first unread message

Sean

unread,
Sep 27, 2011, 11:03:16 AM9/27/11
to google-we...@googlegroups.com
Hey guys,

I'm trying to create a calendar that represents when my DB has data. So I see DatePicker has addStyleToDates(styleName,List<Date>). That's all well and good, but it seems that weekends have a style that is overriding my style, and it never shows my style on the weekend. Looking at GWT's code, they have a PRIVATE styler that can take in a boolean to make it set style name, instead of add, but again, its private and I can't access it.

Are there any ways around this without creating my own DatePicker or implementing the entire style heirarchy?

My style is super simple for reference

.hasData
{
    background-color:green;
}
Reply all
Reply to author
Forward
0 new messages