Reputation: 59386
I have an application in which the selectable time ranges are variable. That is, in the week view, for monday I may want the user to only be able to select times from 12:00 to 14:00h. On thursday only from 17:00h to 19:00h and so forth.
I know I can handle the select
event to constrain the user but I would like to present a visual indication of that time ranges are selectable. I also know I can use minTime
and maxTime
to limit the time tables but I need the weekView
, in which time ranges are variable.
I searched the documentation and the web and found nothing.
Any suggestion?
Upvotes: 0
Views: 704
Reputation: 3092
The weekView (as opposed to the agendaWeek) has no grid of times, so how would you choose where to display the time ranges?
If you mean the agendaWeek the structure of the HTML makes what you want to do very difficult as essentially its made of two superimposed tables, one with the columns and another with the rows (for the different time blocks of half hour or whatever). The only way to do what you want would be to superimpose divs of the right size on top of that matrix. I can give you some hints if you want to attempt that!
Upvotes: 1