{"action":"created","issue":{"url":"https://api.github.com/repos/almende/vis/issues/3452","repository_url":"https://api.github.com/repos/almende/vis","labels_url":"https://api.github.com/repos/almende/vis/issues/3452/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/3452/comments","events_url":"https://api.github.com/repos/almende/vis/issues/3452/events","html_url":"https://github.com/almende/vis/issues/3452","id":258418652,"number":3452,"title":"Custom MultiSelect for Timeline","user":{"login":"katjasmin","id":30148766,"avatar_url":"https://avatars0.githubusercontent.com/u/30148766?v=4","gravatar_id":"","url":"https://api.github.com/users/katjasmin","html_url":"https://github.com/katjasmin","followers_url":"https://api.github.com/users/katjasmin/followers","following_url":"https://api.github.com/users/katjasmin/following{/other_user}","gists_url":"https://api.github.com/users/katjasmin/gists{/gist_id}","starred_url":"https://api.github.com/users/katjasmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katjasmin/subscriptions","organizations_url":"https://api.github.com/users/katjasmin/orgs","repos_url":"https://api.github.com/users/katjasmin/repos","events_url":"https://api.github.com/users/katjasmin/events{/privacy}","received_events_url":"https://api.github.com/users/katjasmin/received_events","type":"User","site_admin":false},"labels":[{"id":36077697,"url":"https://api.github.com/repos/almende/vis/labels/Question","name":"Question","color":"cc317c","default":false},{"id":82640354,"url":"https://api.github.com/repos/almende/vis/labels/Timeline","name":"Timeline","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-18T09:35:24Z","updated_at":"2017-09-19T19:23:49Z","closed_at":null,"author_association":"NONE","body":"Hey guys,\r\n\r\nlately I've been using timeline's multiselect feature and I was wondering if there's a way to customize it or if it's worth being a possible feature in the future. At the moment the multiselect function (CTRL + shift) does only select range items that are within the start and end date of the item you select first. That means that items, that have an earlier start or a later end date will not be selected. I tried to visualize the idea in the screen below.\r\n\r\n![custommultiselect](https://user-images.githubusercontent.com/30148766/30535350-60bb9e44-9c62-11e7-8a0c-1f0a3d94d5a8.png)\r\n\r\nI would appreciate any help with that issue. :>"},"comment":{"url":"https://api.github.com/repos/almende/vis/issues/comments/330644209","html_url":"https://github.com/almende/vis/issues/3452#issuecomment-330644209","issue_url":"https://api.github.com/repos/almende/vis/issues/3452","id":330644209,"user":{"login":"katjasmin","id":30148766,"avatar_url":"https://avatars0.githubusercontent.com/u/30148766?v=4","gravatar_id":"","url":"https://api.github.com/users/katjasmin","html_url":"https://github.com/katjasmin","followers_url":"https://api.github.com/users/katjasmin/followers","following_url":"https://api.github.com/users/katjasmin/following{/other_user}","gists_url":"https://api.github.com/users/katjasmin/gists{/gist_id}","starred_url":"https://api.github.com/users/katjasmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katjasmin/subscriptions","organizations_url":"https://api.github.com/users/katjasmin/orgs","repos_url":"https://api.github.com/users/katjasmin/repos","events_url":"https://api.github.com/users/katjasmin/events{/privacy}","received_events_url":"https://api.github.com/users/katjasmin/received_events","type":"User","site_admin":false},"created_at":"2017-09-19T19:23:49Z","updated_at":"2017-09-19T19:23:49Z","author_association":"NONE","body":"Sure and sorry for complicating things. :/ In simple terms I want to modify the selection of items  (or override the selection range) that will be selected when using multiselect via Click + Shift.\r\nI just wasn't sure if there might be a special timeline event or callback when an item is selected and the SHIFT key is pressed. I mean there are already a variety of item, mouse, select and click events and a range of different callbacks mentioned in the documentation, but not for this particular case.\r\n\r\nFor example, something like this:\r\n\r\n`var options = { onMultiSelectItem: function (item, callback) { // do stuff } };`\r\n\r\nI hope I could clear things up. "}}
{"actor":{"display_login":"katjasmin"}}