sathish kumar
sathish kumar

Reputation: 936

Display week number column in calendar

I want to create on full calendar in jquery.

1) The first column is week and respectively sun,mon,tue,wed,thur,fri,sat.

2) Week column need to display the week.

Please look at the below image,

enter image description here

I want to do this in a jquery. I don't want to use any other plugins like fullCalendar and all. I want to use only jquery plugin.

Upvotes: 2

Views: 1416

Answers (1)

Deep Shah
Deep Shah

Reputation: 310

Here is a solution.

Html :

<div class="wrapper">
<form class="ws-validate">  
  <div class="form-row show-selectnav show-week hide-btnrow">  
        <input id="date-4" type="date" data-date='{"minView": 2, "startView": 2}' />
    </div>
  </form>

Javascript :

<div class="wrapper">
<form class="ws-validate">  
  <div class="form-row show-selectnav show-week hide-btnrow">  
        <input id="date-4" type="date" data-date='{"minView": 2, "startView": 2}' />
    </div>
  </form>

You can see working Demo. Hope will work for you..☺

Upvotes: 3

Related Questions