EasyUI Forum
May 11, 2024, 12:33:34 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: calendar + showWeek  (Read 2637 times)
rezzonico
Full Member
***
Posts: 183


View Profile
« 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
« Last Edit: June 18, 2019, 10:11:14 AM by rezzonico » Logged
rezzonico
Full Member
***
Posts: 183


View Profile
« Reply #1 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!