title: How to show only event appearing rows in FullCalendar.js
body: <p>I am using <code>FullCalendar</code> v3.9.0 and need to show <code>rows</code> if it has any events only for <code>week</code> and <code>day</code> view. Pleas see the below image:</p>
  
  <p><a href="https://i.stack.imgur.com/bwPlu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bwPlu.png" alt="enter image description here"></a></p>
  
  <p>As you can see, above calendar showing rows of 8 AM to 12 PM. but it only has events from 9 to 11 AM. Thus I just want to show calendar from 9 AM to 11 AM. </p>
  
  <p>I have tried it using <code>filterResourcesWithEvents: true,</code> but it didnt worked. Please see my code below:</p>
  
  <pre><code>$('#calendar').fullCalendar({
      header: {
          left: '',
          center: 'prev, title, next',
          right: 'today, month,agendaWeek,agendaDay,listWeek'
      },
      views: {
          agendaWeek: {
              columnHeaderFormat:  'ddd D/M',
          }
      },
      minTime: "08:00:00", //I have tried by commenting this as well.
      maxTime: "23:00:00", //I have tried by commenting this as well.
      defaultDate: output,
      filterResourcesWithEvents: false,
      slotEventOverlap : false,
      contentHeight: 2000,
      navLinks: false, 
      editable: false,
      eventLimit: true, 
      height: "auto",
      events: course_data,
      defaultView: 'agendaWeek'
  });
  </code></pre>
  
  <p>Looking hopefully to have some suggestions or answer, Thanks!!</p>