Click here to Skip to main content
15,883,978 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am developing a view to display generic meetings of every-month. I am using "FullCalendar" a jQuery plugin.
Here my requirement is, I need to display a calendar view where a month-view will be displayed with NO DATES on calendar.
Is there any property to set or jQuery code to hide dates on calendar view?
Posted
Comments
F-ES Sitecore 4-Jan-16 7:16am    
You might need to clarify what you mean by a calendar with no dates. If you mean you want the Monday-Friday cells to be there with no numbers then maybe you can remove the numbers via the dayrender event

1 solution

You just have to call like this

$(".date-picker").datepicker({
                changeMonth: true,
                changeYear: true,
                showButtonPanel: true,
              <big>  dateFormat: 'MM yy',</big>
                onClose: function(dateText, inst) {
                    var month = $("#ui-datepicker-div .ui-datepicker-month :selected").val();
                    var year = $("#ui-datepicker-div .ui-datepicker-year :selected").val();
                    $(this).datepicker('setDate', new Date(year, month, 1));
                }
 
            });


Or visit this link
http://www.jquerybyexample.net/2012/06/show-only-month-and-year-in-jquery-ui.html[^]
 
Share this answer
 
Comments
Pravin.Bhosale01 4-Jan-16 7:05am    
Thanks for efforts, but this is not related to date-time picker, I want calendar to be displayed but without dates on it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900