{"action":"created","issue":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/403","labels_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/403/comments","events_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/403/events","html_url":"https://github.com/wenzhixin/bootstrap-table/issues/403","id":53614257,"number":403,"title":"Fix postion of table footer <tfoot> ?","user":{"login":"yusiwen","id":3704932,"avatar_url":"https://avatars.githubusercontent.com/u/3704932?v=3","gravatar_id":"","url":"https://api.github.com/users/yusiwen","html_url":"https://github.com/yusiwen","followers_url":"https://api.github.com/users/yusiwen/followers","following_url":"https://api.github.com/users/yusiwen/following{/other_user}","gists_url":"https://api.github.com/users/yusiwen/gists{/gist_id}","starred_url":"https://api.github.com/users/yusiwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusiwen/subscriptions","organizations_url":"https://api.github.com/users/yusiwen/orgs","repos_url":"https://api.github.com/users/yusiwen/repos","events_url":"https://api.github.com/users/yusiwen/events{/privacy}","received_events_url":"https://api.github.com/users/yusiwen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-07T09:42:16Z","updated_at":"2015-01-17T03:28:47Z","closed_at":null,"body":"Sorry to bother, but I've got a problem I can't solve by my own:\r\n\r\nI created a table like:\r\n\r\n```html\r\n<table id='resultTable'>\r\n<thead>\r\n  <tr>\r\n     <th data-field=\"field1\">Field1</th>\r\n     <th data-field=\"field2\">Field2</th>\r\n     <th data-field=\"field3\">Field3</th>\r\n  </tr>\r\n</thead>\r\n<tfoot>\r\n</tfoot>\r\n</table>\r\n```\r\n\r\nThen, I load this table with data from ajax call:\r\n```js\r\nvar array = data.responseData;\r\n$('#resultTable').bootstrapTable('load', array);\r\n```\r\nAnd create the tfoot row with:\r\n```js\r\nvar row = $(\"<tr />\");\r\n$(\"#resultTable tfoot\").append(row);\r\nrow.append(\"<td>Count</td>\");\r\nrow.append(\"<td></td>\");\r\nrow.append(\"<td>\" + data.summary + \"</td>\");\r\n```\r\nThe table looks fine, but the table footer part can't stay fixed like table header, when scrolled down/up, the footer part is treated like tbody part.\r\n\r\nCan you tell me how to make its position fixed, and only scroll within tbody.\r\n\r\nThx.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/comments/70352724","html_url":"https://github.com/wenzhixin/bootstrap-table/issues/403#issuecomment-70352724","issue_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/403","id":70352724,"user":{"login":"wenzhixin","id":2117018,"avatar_url":"https://avatars.githubusercontent.com/u/2117018?v=3","gravatar_id":"","url":"https://api.github.com/users/wenzhixin","html_url":"https://github.com/wenzhixin","followers_url":"https://api.github.com/users/wenzhixin/followers","following_url":"https://api.github.com/users/wenzhixin/following{/other_user}","gists_url":"https://api.github.com/users/wenzhixin/gists{/gist_id}","starred_url":"https://api.github.com/users/wenzhixin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenzhixin/subscriptions","organizations_url":"https://api.github.com/users/wenzhixin/orgs","repos_url":"https://api.github.com/users/wenzhixin/repos","events_url":"https://api.github.com/users/wenzhixin/events{/privacy}","received_events_url":"https://api.github.com/users/wenzhixin/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T03:28:47Z","updated_at":"2015-01-17T03:28:47Z","body":"referenced to #4: need to add tfoot feature of Bootstrap Table."}}