EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: rezzonico on June 18, 2019, 10:07:42 AM



Title: calendar + showWeek
Post by: rezzonico on June 18, 2019, 10:07:42 AM
Hi all,

I have a field where I need to save the week-number and the year (example 21-2019).

To this purpose I am trying to use the calendar plugin.
Therefore, I have set "showWeek: true".

Here the questions:
- how is it possible in the calendar plugin to make the weekNumber selectable (and all the month-days unselectable) ?
- how can I return the week-number and the year ?

Thanks
Miche


Title: Re: calendar + showWeek
Post by: rezzonico on June 21, 2019, 05:10:00 AM
I found a solution to my problem.

In the calendar pluging there is the property "getWeekNumber".
With this property it is possible to override the text in the "Week Columns" but it is also possible to add a link.