{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-grid/issues/2509","repository_url":"https://api.github.com/repos/angular-ui/ui-grid","labels_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/2509/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/2509/comments","events_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/2509/events","html_url":"https://github.com/angular-ui/ui-grid/issues/2509","id":53726620,"number":2509,"title":"Strange column header height","user":{"login":"reidlai","id":3723369,"avatar_url":"https://avatars.githubusercontent.com/u/3723369?v=3","gravatar_id":"","url":"https://api.github.com/users/reidlai","html_url":"https://github.com/reidlai","followers_url":"https://api.github.com/users/reidlai/followers","following_url":"https://api.github.com/users/reidlai/following{/other_user}","gists_url":"https://api.github.com/users/reidlai/gists{/gist_id}","starred_url":"https://api.github.com/users/reidlai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reidlai/subscriptions","organizations_url":"https://api.github.com/users/reidlai/orgs","repos_url":"https://api.github.com/users/reidlai/repos","events_url":"https://api.github.com/users/reidlai/events{/privacy}","received_events_url":"https://api.github.com/users/reidlai/received_events","type":"User","site_admin":false},"labels":[{"id":52046321,"url":"https://api.github.com/repos/angular-ui/ui-grid/labels/waiting-response","name":"waiting-response","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/angular-ui/ui-grid/milestones/12","html_url":"https://github.com/angular-ui/ui-grid/milestone/12","labels_url":"https://api.github.com/repos/angular-ui/ui-grid/milestones/12/labels","id":435248,"number":12,"title":"3.0","description":"","creator":{"login":"timothyswt","id":1736223,"avatar_url":"https://avatars.githubusercontent.com/u/1736223?v=3","gravatar_id":"","url":"https://api.github.com/users/timothyswt","html_url":"https://github.com/timothyswt","followers_url":"https://api.github.com/users/timothyswt/followers","following_url":"https://api.github.com/users/timothyswt/following{/other_user}","gists_url":"https://api.github.com/users/timothyswt/gists{/gist_id}","starred_url":"https://api.github.com/users/timothyswt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timothyswt/subscriptions","organizations_url":"https://api.github.com/users/timothyswt/orgs","repos_url":"https://api.github.com/users/timothyswt/repos","events_url":"https://api.github.com/users/timothyswt/events{/privacy}","received_events_url":"https://api.github.com/users/timothyswt/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":661,"state":"closed","created_at":"2013-09-24T04:48:10Z","updated_at":"2016-09-25T18:33:59Z","due_on":null,"closed_at":"2015-08-11T23:20:49Z"},"comments":16,"created_at":"2015-01-08T08:40:05Z","updated_at":"2016-12-22T03:06:33Z","closed_at":"2015-03-30T20:16:10Z","body":"Dear All, \n\nI have the following html code fragment.\n\n``` html\n<div class=\"container-fluid\">\n<div id=\"test1\" class=\"default-route-grid\" ui-grid=\"gridOptions\" ui-grid-selection></div> \n</div>\n```\n\nand my gridOptions is same as below:\n\n``` javascript\n$scope.gridOptions = {\n            enableFiltering: true,\n            enableSorting: true,\n            enableRowSelection: true,\n            enableSelectAll: false,\n            selectionRowHeaderWidth: 35,\n            multiSelect: false,\n            columnDefs: _.map(_.filter($scope.columnDefs, function(item) { \n                return item.field;\n            }), function(item) { \n                return item ;\n            }),\n            data: DataSync.getRows(\"dbv2-routes\", function(item){\n                return item.Status != \"Archived\";\n            }),\n            onRegisterApi: function(gridApi){                \n                $scope.gridApi = gridApi;\n                gridApi.selection.on.rowSelectionChanged($scope,function(row){\n                    var selectedRows = gridApi.selection.getSelectedRows();\n                    $scope.refreshButton(\"CopyRouteButton\", selectedRows);\n                    $scope.refreshButton(\"EditRouteButton\", selectedRows);\n                    $scope.refreshButton(\"DeleteRouteButton\", selectedRows);\n                });\n            }\n        };\n```\n\nEverything works fine except the column header height grows near half of the whole grid.  I have no idea what happened.  Is there anyone can tell how to set column header height?  Is there any way the column header height is adjusted automatically?  Thanks for your advice.\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-grid/issues/comments/268707273","html_url":"https://github.com/angular-ui/ui-grid/issues/2509#issuecomment-268707273","issue_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/2509","id":268707273,"user":{"login":"uhe1896","id":7496665,"avatar_url":"https://avatars.githubusercontent.com/u/7496665?v=3","gravatar_id":"","url":"https://api.github.com/users/uhe1896","html_url":"https://github.com/uhe1896","followers_url":"https://api.github.com/users/uhe1896/followers","following_url":"https://api.github.com/users/uhe1896/following{/other_user}","gists_url":"https://api.github.com/users/uhe1896/gists{/gist_id}","starred_url":"https://api.github.com/users/uhe1896/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uhe1896/subscriptions","organizations_url":"https://api.github.com/users/uhe1896/orgs","repos_url":"https://api.github.com/users/uhe1896/repos","events_url":"https://api.github.com/users/uhe1896/events{/privacy}","received_events_url":"https://api.github.com/users/uhe1896/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T03:06:33Z","updated_at":"2016-12-22T03:06:33Z","body":"@pyrostrex you are my hero too, thanks"}}
{"actor":{"display_login":"uhe1896"}}