title: Fullcalendar get position or get get resource
body: <p>I'm trying to build a fullcalendar with vertical resources <a href="http://plnkr.co/edit/8d16J15gKhE2IKCATspZ?p=preview" rel="nofollow noreferrer">(like this one)</a>. 
  <a href="https://github.com/seankenny/fullcalendar" rel="nofollow noreferrer">This is sean kennerys fork</a></p>
  
  <p>I've already achieved all working functionality except getting the resource ID from the event drop.</p>
  
  <p>When I drop a event I get the array of resources i've on that view (resourceDay view)</p>
  
  <p><img src="https://i.stack.imgur.com/kg1EM.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/1uTjS.png" alt="enter image description here">
  In the header i've the id (in this example its 219) in the table header class</p>
  
  <p><img src="https://i.stack.imgur.com/kN0nf.png" alt="enter image description here">
  (right mouse click -> open in new tab for bigger version)</p>
  
  <p>The first problem I've is that the drop in this plugin doesn't give me a resource ID back.
  The second problem is I don't know how I can get the row and then get the id from the header</p>
  
  <p>My drop function:</p>
  
  <pre><code>drop: function(date, allDay) { 
  
      //Get view (resourceday, week, month)
      var view = $('#calendar').fullCalendar('getView');
      console.log(view.getResources); 
  
  }
  </code></pre>
  
  <p><a href="http://tux.fi/~jarnok/fullcalendar-resourceviews/" rel="nofollow noreferrer">Tux.fi has a solution for this problem</a>
  His plugin returns the resource id on this way (see below that page)</p>
  
  <pre><code>When using external events, you can get resource data this way:
  drop: function(date, allDay, ev, ui, resource) {
      var resourceId = resource.id; // this is resource id
      var resourceName = resource.name // this is resource name
  
      //YEAH!
  }
  </code></pre>
  
  <p>But I need to have a vertical view! This are the only two plugins for fullcalendar being somewhat up to date. Some others are about 3 years old. I've contacted the programmers of these plugins to ask for their help but did not yet receive answer and I hoped SO could provide me with some help about this topic. </p>
  
  <p>little note:
  It is for a serious school project</p>
  
  <p>I hope someone can help me fix one of these problems that leads to the solution.</p>
  
  <p><strong>THIS IS FIXED BY A NEW UPDATE 09-04-2014 SEE ACCEPTED ANSWER</strong></p>