Re: DataPicker in GWT

2023-07-04 Thread Климент Кистень
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+unsubscr...@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.


Re: DataPicker in GWT

2023-07-04 Thread 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/1c8144a9-c7bd-4f3b-8406-5ba9d8bf9dfdn%40googlegroups.com.


DataPicker in GWT

2023-07-04 Thread Климент Кистень
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/8b85f774-f11d-4c08-bb0a-91f6014e89aen%40googlegroups.com.