{"action":"created","issue":{"url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/3025","labels_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/3025/labels{/name}","comments_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/3025/comments","events_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/3025/events","html_url":"https://github.com/fullcalendar/fullcalendar/issues/3025","id":130450683,"number":3025,"title":"Select across day option","user":{"login":"xxAtrain223","id":7133510,"avatar_url":"https://avatars.githubusercontent.com/u/7133510?v=3","gravatar_id":"","url":"https://api.github.com/users/xxAtrain223","html_url":"https://github.com/xxAtrain223","followers_url":"https://api.github.com/users/xxAtrain223/followers","following_url":"https://api.github.com/users/xxAtrain223/following{/other_user}","gists_url":"https://api.github.com/users/xxAtrain223/gists{/gist_id}","starred_url":"https://api.github.com/users/xxAtrain223/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xxAtrain223/subscriptions","organizations_url":"https://api.github.com/users/xxAtrain223/orgs","repos_url":"https://api.github.com/users/xxAtrain223/repos","events_url":"https://api.github.com/users/xxAtrain223/events{/privacy}","received_events_url":"https://api.github.com/users/xxAtrain223/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-01T18:57:24Z","updated_at":"2016-02-01T20:12:50Z","closed_at":null,"body":"My customer would like the ability to drag across days, but instead of making one event spanning start and end, they would like to have have several events spanning that time range on each day.\r\n\r\nFor example: You click on 7am on Monday (2/1) and drag to 9am on Friday (2/5). Right now, it'll make one event spanning 2/1:7am---2/5:9am. The intended effect is to have 5 events: {(2/1:7am--2/1:9am), (2/2:7am--2/2:9am), (2/3:7am--2/3:9am), (2/4:7am--2/4:9am), (2/5:7am--2/5:9am)}. \r\n\r\nSo basically they want Excel style selecting.\r\nI've been able to hack this up by using the select callback:\r\n```Javascript\r\nselect: function (start, end, jsEvent, view) {\r\n\twhile (start.isBefore(end)) {\r\n\t\tvar eventData = {\r\n\t\t\tstart: start.clone(),\r\n\t\t\tend: end.clone().date(start.date()).month(start.month()).year(start.year())\r\n\t\t}\r\n\t\tstart.add(1, 'd');\r\n\t\t$('#calendar').fullCalendar('renderEvent', eventData);\r\n\t}\r\n\r\n\t$('#calendar').fullCalendar('unselect');\r\n}\r\n```\r\n\r\nBut in order to prevent confusion, I had to remove the fc-highlight background color (because it still shows the one event from start to end)."},"comment":{"url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/comments/178167156","html_url":"https://github.com/fullcalendar/fullcalendar/issues/3025#issuecomment-178167156","issue_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/3025","id":178167156,"user":{"login":"xxAtrain223","id":7133510,"avatar_url":"https://avatars.githubusercontent.com/u/7133510?v=3","gravatar_id":"","url":"https://api.github.com/users/xxAtrain223","html_url":"https://github.com/xxAtrain223","followers_url":"https://api.github.com/users/xxAtrain223/followers","following_url":"https://api.github.com/users/xxAtrain223/following{/other_user}","gists_url":"https://api.github.com/users/xxAtrain223/gists{/gist_id}","starred_url":"https://api.github.com/users/xxAtrain223/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xxAtrain223/subscriptions","organizations_url":"https://api.github.com/users/xxAtrain223/orgs","repos_url":"https://api.github.com/users/xxAtrain223/repos","events_url":"https://api.github.com/users/xxAtrain223/events{/privacy}","received_events_url":"https://api.github.com/users/xxAtrain223/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T20:12:50Z","updated_at":"2016-02-01T20:12:50Z","body":"I'm fine with my solution, but not having highlighting is a little off-putting. Is there a way that I can hack in some highlighting for this task? I've looked around, but it just seems too magical to me.\r\n\r\nI'd be happy to implement this to the library, but i'm not sure where to get started. "}}