Tuesday, July 4, 2023

Re: DataPicker in GWT

I'll try to override CalendarView. I don't think there is any other way. Thank's

вторник, 4 июля 2023 г. в 20:52:11 UTC+3, Colin Alworth:
It appears that this is specified as part of the DefaultCalendarView type, in the nested DateCell class's update(Date) method. I don't see an obvious way to override that, nor to replace the DatePicker.StandardCss type (package protected). Instead, you might implement CalendarView in your own way (perhaps copying some of or all of the existing content in DefaultCalendarView), then subclass DatePicker to pass your own instance to the protected constructor that takes a CalendarView instead?

As another option, can you clarify what additional styling you are trying to add? It might be possible to use the existing CSS styles to do this, or find another way to produce the same effect you're after?

On Tuesday, July 4, 2023 at 11:32:20 AM UTC-5 zarat.u...@gmail.com wrote:
How can I set an additional selector for a date that has the "datePicker DayIsFiller" selector in the GWT DatePicker class?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/9df43796-9ab5-4047-9aaa-f46baa6573dcn%40googlegroups.com.

No comments:

Post a Comment