Should I use
datepicker.setStylePrimaryName("myOwnPlain")
?
Didn't find any useful examples or doc on primary styles...
I didn't get it to work. and the java source ended in
native void updatePrimaryAndDependentStyleNames

After reading DatePicker source code it seems like the primary style
will *always* be applied.
And, by default, it will set the background-color of weekends.

Does anyone have an example of how to make a primary style of your own
for a widget?

Kind Regards
klas

On Apr 9, 12:15 pm, klas <[email protected]> wrote:
> Hi
>
> I useDatePicker.addStyleToDates to highlight 'events' on some special
> days.
> It works fine except for weekends.
> When I navigate forward and back one month, events on weekends are
> cleared:(
> Seems like the CSS ".datePickerDayIsWeekend" override my style?
> Any hints on how to get weekends to work?
> Copy-paste-modify DefaultCalendarView (unnecessary complex)?
>
> /klas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to