{"action":"created","issue":{"url":"https://api.github.com/repos/almende/vis/issues/627","labels_url":"https://api.github.com/repos/almende/vis/issues/627/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/627/comments","events_url":"https://api.github.com/repos/almende/vis/issues/627/events","html_url":"https://github.com/almende/vis/issues/627","id":57324238,"number":627,"title":"On Cell time range ","user":{"login":"DivyashreeMS","id":10521928,"avatar_url":"https://avatars.githubusercontent.com/u/10521928?v=3","gravatar_id":"","url":"https://api.github.com/users/DivyashreeMS","html_url":"https://github.com/DivyashreeMS","followers_url":"https://api.github.com/users/DivyashreeMS/followers","following_url":"https://api.github.com/users/DivyashreeMS/following{/other_user}","gists_url":"https://api.github.com/users/DivyashreeMS/gists{/gist_id}","starred_url":"https://api.github.com/users/DivyashreeMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DivyashreeMS/subscriptions","organizations_url":"https://api.github.com/users/DivyashreeMS/orgs","repos_url":"https://api.github.com/users/DivyashreeMS/repos","events_url":"https://api.github.com/users/DivyashreeMS/events{/privacy}","received_events_url":"https://api.github.com/users/DivyashreeMS/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/almende/vis/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/almende/vis/labels/Timeline","name":"Timeline","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-02-11T14:44:41Z","updated_at":"2015-03-09T10:40:13Z","closed_at":null,"body":"Hi,\r\n\r\nI had a small requirement, If I click on the horizontal bar only the selected cell time range need to be fetched, as per the screen shot if I click on 06:50 Cell I need to get the time range of that cell ie from 06:50 - 06:55. Can someone please share the code for this.\r\n\r\nBut now currently I am getting all the slot time range ie from 6:10 - 7:43\r\nCode goes like below: \r\n\r\ntimeline.on('select', function (properties) {\r\n      logEvent('select', properties);\r\n    });\r\n\r\n function logEvent(event, properties) {\r\n   \t var id=properties['items'];\r\n        console.log('id>>'+id);\r\n        var item1 = items.get(parseInt(id));\r\n        console.log(\"item Content>\"+item1.start);\r\n  }\r\n\r\n![oncellevent](https://cloud.githubusercontent.com/assets/10521928/6148763/232fdd42-b1d2-11e4-918e-69ae7cd4ffc7.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/almende/vis/issues/comments/77831561","html_url":"https://github.com/almende/vis/issues/627#issuecomment-77831561","issue_url":"https://api.github.com/repos/almende/vis/issues/627","id":77831561,"user":{"login":"josdejong","id":568626,"avatar_url":"https://avatars.githubusercontent.com/u/568626?v=3","gravatar_id":"","url":"https://api.github.com/users/josdejong","html_url":"https://github.com/josdejong","followers_url":"https://api.github.com/users/josdejong/followers","following_url":"https://api.github.com/users/josdejong/following{/other_user}","gists_url":"https://api.github.com/users/josdejong/gists{/gist_id}","starred_url":"https://api.github.com/users/josdejong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josdejong/subscriptions","organizations_url":"https://api.github.com/users/josdejong/orgs","repos_url":"https://api.github.com/users/josdejong/repos","events_url":"https://api.github.com/users/josdejong/events{/privacy}","received_events_url":"https://api.github.com/users/josdejong/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T10:40:13Z","updated_at":"2015-03-09T10:40:13Z","body":"The just released v3.11.0 contains event handlers `click`, `doubleClick`, and `contextmenu`. These events give back information about the clicked location. \r\n\r\nDoes that solve your issue?"}}