{"action":"created","issue":{"url":"https://api.github.com/repos/mkoryak/floatThead/issues/159","labels_url":"https://api.github.com/repos/mkoryak/floatThead/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/mkoryak/floatThead/issues/159/comments","events_url":"https://api.github.com/repos/mkoryak/floatThead/issues/159/events","html_url":"https://github.com/mkoryak/floatThead/issues/159","id":57513905,"number":159,"title":"Is it possible to set horizontal scroll to inner table?","user":{"login":"marianopeck","id":1032834,"avatar_url":"https://avatars.githubusercontent.com/u/1032834?v=3","gravatar_id":"","url":"https://api.github.com/users/marianopeck","html_url":"https://github.com/marianopeck","followers_url":"https://api.github.com/users/marianopeck/followers","following_url":"https://api.github.com/users/marianopeck/following{/other_user}","gists_url":"https://api.github.com/users/marianopeck/gists{/gist_id}","starred_url":"https://api.github.com/users/marianopeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marianopeck/subscriptions","organizations_url":"https://api.github.com/users/marianopeck/orgs","repos_url":"https://api.github.com/users/marianopeck/repos","events_url":"https://api.github.com/users/marianopeck/events{/privacy}","received_events_url":"https://api.github.com/users/marianopeck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mkoryak/floatThead/labels/need%20jsfiddle","name":"need jsfiddle","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-12T20:20:46Z","updated_at":"2015-02-12T22:07:23Z","closed_at":null,"body":"Hi, \r\n\r\nFirst of all, thanks for such a great product!\r\n\r\nSorry for off topic question, but I have the following scenario. I have a main div which is a kind of a workspace (which is not even in the top part of the screen). Inside that workspace, I have some divs and BELOW that I have a table.  I am using floatThead and I set the `scrollContainer:` with the workspace id. This works correct in the sense that when I scroll down, the table header keeps fixed on the top part of the workspace area. \r\n\r\nThe problem is that my table can have lots of tables, making it much wither than the stuff above (mostly controls related to the table) which is still inside the workspace. \r\n\r\nIf I enable scrolling at the workspace level, then floatThead works correct in the sense I can scroll horizontally and header is aligned with body. However...what happens here is that for the user is very annoying because the upper part (controls) remain on the left.  So...Ideally I would like to horizontally scroll in a table container so that I can only scroll the table and keep the above stuff visible. \r\n\r\nWhen I try to set a `overflow-x: auto` to my table container, the body parts scroll horizontally very well, but of course, the header (floating) does not scroll and keeps always in the same place with the old (already moved) table headers. \r\n\r\nI know it is a bit of a pain to explain without a jsfiddle but it is a bit complicated to isolated and get permissions from the client. \r\n\r\nSo..in summary, is there something I can do so that I can set a bigger scrollContainer: (for the Y scroll) and then allow me to horizontally scroll my table with the header?\r\n\r\nThanks in advance,\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mkoryak/floatThead/issues/comments/74163543","html_url":"https://github.com/mkoryak/floatThead/issues/159#issuecomment-74163543","issue_url":"https://api.github.com/repos/mkoryak/floatThead/issues/159","id":74163543,"user":{"login":"mkoryak","id":383817,"avatar_url":"https://avatars.githubusercontent.com/u/383817?v=3","gravatar_id":"","url":"https://api.github.com/users/mkoryak","html_url":"https://github.com/mkoryak","followers_url":"https://api.github.com/users/mkoryak/followers","following_url":"https://api.github.com/users/mkoryak/following{/other_user}","gists_url":"https://api.github.com/users/mkoryak/gists{/gist_id}","starred_url":"https://api.github.com/users/mkoryak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkoryak/subscriptions","organizations_url":"https://api.github.com/users/mkoryak/orgs","repos_url":"https://api.github.com/users/mkoryak/repos","events_url":"https://api.github.com/users/mkoryak/events{/privacy}","received_events_url":"https://api.github.com/users/mkoryak/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T22:07:23Z","updated_at":"2015-02-12T22:07:23Z","body":"ok, so i see some sort of buggy behavior going on here. This isnt a very clean jsfiddle so it might take me a bit of time to get to the bottom of whats happening here, so feel free to clean it up a bit. \r\n\r\n"}}