{"action":"created","issue":{"url":"https://api.github.com/repos/olifolkerd/tabulator/issues/974","repository_url":"https://api.github.com/repos/olifolkerd/tabulator","labels_url":"https://api.github.com/repos/olifolkerd/tabulator/issues/974/labels{/name}","comments_url":"https://api.github.com/repos/olifolkerd/tabulator/issues/974/comments","events_url":"https://api.github.com/repos/olifolkerd/tabulator/issues/974/events","html_url":"https://github.com/olifolkerd/tabulator/issues/974","id":306356694,"number":974,"title":"Ajax pagination overflow scrolling","user":{"login":"jfmarasigan","id":17895817,"avatar_url":"https://avatars1.githubusercontent.com/u/17895817?v=4","gravatar_id":"","url":"https://api.github.com/users/jfmarasigan","html_url":"https://github.com/jfmarasigan","followers_url":"https://api.github.com/users/jfmarasigan/followers","following_url":"https://api.github.com/users/jfmarasigan/following{/other_user}","gists_url":"https://api.github.com/users/jfmarasigan/gists{/gist_id}","starred_url":"https://api.github.com/users/jfmarasigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfmarasigan/subscriptions","organizations_url":"https://api.github.com/users/jfmarasigan/orgs","repos_url":"https://api.github.com/users/jfmarasigan/repos","events_url":"https://api.github.com/users/jfmarasigan/events{/privacy}","received_events_url":"https://api.github.com/users/jfmarasigan/received_events","type":"User","site_admin":false},"labels":[{"id":277350038,"url":"https://api.github.com/repos/olifolkerd/tabulator/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"olifolkerd","id":6840524,"avatar_url":"https://avatars0.githubusercontent.com/u/6840524?v=4","gravatar_id":"","url":"https://api.github.com/users/olifolkerd","html_url":"https://github.com/olifolkerd","followers_url":"https://api.github.com/users/olifolkerd/followers","following_url":"https://api.github.com/users/olifolkerd/following{/other_user}","gists_url":"https://api.github.com/users/olifolkerd/gists{/gist_id}","starred_url":"https://api.github.com/users/olifolkerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olifolkerd/subscriptions","organizations_url":"https://api.github.com/users/olifolkerd/orgs","repos_url":"https://api.github.com/users/olifolkerd/repos","events_url":"https://api.github.com/users/olifolkerd/events{/privacy}","received_events_url":"https://api.github.com/users/olifolkerd/received_events","type":"User","site_admin":false},"assignees":[{"login":"olifolkerd","id":6840524,"avatar_url":"https://avatars0.githubusercontent.com/u/6840524?v=4","gravatar_id":"","url":"https://api.github.com/users/olifolkerd","html_url":"https://github.com/olifolkerd","followers_url":"https://api.github.com/users/olifolkerd/followers","following_url":"https://api.github.com/users/olifolkerd/following{/other_user}","gists_url":"https://api.github.com/users/olifolkerd/gists{/gist_id}","starred_url":"https://api.github.com/users/olifolkerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olifolkerd/subscriptions","organizations_url":"https://api.github.com/users/olifolkerd/orgs","repos_url":"https://api.github.com/users/olifolkerd/repos","events_url":"https://api.github.com/users/olifolkerd/events{/privacy}","received_events_url":"https://api.github.com/users/olifolkerd/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-03-19T07:25:47Z","updated_at":"2018-03-19T07:34:08Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am using ajax request to get data from the server. \r\nI set paginationSize to 10, height set for the container div enough to fit the rendered table and the pagination options, no height set in consturctor parameters, and layout set to 'fitColumns'.\r\nTable works fine at this point.\r\n\r\nI tried resizing / reducing the height of the container div and I noticed this :\r\n![capture](https://user-images.githubusercontent.com/17895817/37582728-4b2f227e-2b89-11e8-829f-9b226dc40b97.PNG)\r\n\r\nHow do I allow scrolling for the data and to show the pagination controls, fixed to the bottom of the container?\r\n"},"comment":{"url":"https://api.github.com/repos/olifolkerd/tabulator/issues/comments/374123606","html_url":"https://github.com/olifolkerd/tabulator/issues/974#issuecomment-374123606","issue_url":"https://api.github.com/repos/olifolkerd/tabulator/issues/974","id":374123606,"user":{"login":"jfmarasigan","id":17895817,"avatar_url":"https://avatars1.githubusercontent.com/u/17895817?v=4","gravatar_id":"","url":"https://api.github.com/users/jfmarasigan","html_url":"https://github.com/jfmarasigan","followers_url":"https://api.github.com/users/jfmarasigan/followers","following_url":"https://api.github.com/users/jfmarasigan/following{/other_user}","gists_url":"https://api.github.com/users/jfmarasigan/gists{/gist_id}","starred_url":"https://api.github.com/users/jfmarasigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfmarasigan/subscriptions","organizations_url":"https://api.github.com/users/jfmarasigan/orgs","repos_url":"https://api.github.com/users/jfmarasigan/repos","events_url":"https://api.github.com/users/jfmarasigan/events{/privacy}","received_events_url":"https://api.github.com/users/jfmarasigan/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T07:34:08Z","updated_at":"2018-03-19T07:34:08Z","author_association":"NONE","body":"Hi, thanks for the fast response.\r\nHere's what I use.\r\n\r\n```\r\nvar paramz = {\r\n\tlayout : \"fitColumns\",\r\n\tcolumns : [ \r\n\t\t{ title : 'User ID', field : 'userId' }, \r\n\t\t{ title : 'User Group', field : 'userGrp' }, \r\n\t\t{ title : 'User Name', field : 'userName' }, \r\n\t\t{ title : 'T', field : 'userId' } \r\n\t],\r\n\tajaxConfig : 'GET',\r\n\tajaxURL : 'get-us',\r\n\tajaxRequesting : function(url, params) {\r\n\t\tthis.currentPage = params.page;\r\n\t\tparams.start = ((params.page - 1) * params.size) + 1;\r\n\t\tparams.end = params.page * params.size;\r\n\t\treturn params;\r\n\t},\r\n\tajaxResponse : function(url, params, response) {\r\n\t\tresponse.data = JSON.parse(response.data);\r\n\t\treturn response;\r\n\t},\r\n\tajaxFiltering : true,\r\n\tajaxSorting : true,\r\n\tpagination : 'remote',\r\n\tpaginationSize : 10\r\n};\r\n\r\n$('#sample-table').tabulator(paramz);\r\n```"}}
{"actor":{"display_login":"jfmarasigan"}}