{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ng-grid/issues/2509","labels_url":"https://api.github.com/repos/angular-ui/ng-grid/issues/2509/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ng-grid/issues/2509/comments","events_url":"https://api.github.com/repos/angular-ui/ng-grid/issues/2509/events","html_url":"https://github.com/angular-ui/ng-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":[{"url":"https://api.github.com/repos/angular-ui/ng-grid/labels/waiting-response","name":"waiting-response","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular-ui/ng-grid/milestones/12","html_url":"https://github.com/angular-ui/ng-grid/milestones/3.0","labels_url":"https://api.github.com/repos/angular-ui/ng-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":48,"closed_issues":603,"state":"open","created_at":"2013-09-24T04:48:10Z","updated_at":"2015-03-30T20:16:10Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2015-01-08T08:40:05Z","updated_at":"2015-03-30T20:16:11Z","closed_at":"2015-03-30T20:16:10Z","body":"Dear All, \r\n\r\nI have the following html code fragment.\r\n\r\n```html\r\n<div class=\"container-fluid\">\r\n<div id=\"test1\" class=\"default-route-grid\" ui-grid=\"gridOptions\" ui-grid-selection></div> \r\n</div>\r\n```\r\n\r\nand my gridOptions is same as below:\r\n\r\n```javascript\r\n$scope.gridOptions = {\r\n            enableFiltering: true,\r\n            enableSorting: true,\r\n            enableRowSelection: true,\r\n            enableSelectAll: false,\r\n            selectionRowHeaderWidth: 35,\r\n            multiSelect: false,\r\n            columnDefs: _.map(_.filter($scope.columnDefs, function(item) { \r\n                return item.field;\r\n            }), function(item) { \r\n                return item ;\r\n            }),\r\n            data: DataSync.getRows(\"dbv2-routes\", function(item){\r\n                return item.Status != \"Archived\";\r\n            }),\r\n            onRegisterApi: function(gridApi){                \r\n                $scope.gridApi = gridApi;\r\n                gridApi.selection.on.rowSelectionChanged($scope,function(row){\r\n                    var selectedRows = gridApi.selection.getSelectedRows();\r\n                    $scope.refreshButton(\"CopyRouteButton\", selectedRows);\r\n                    $scope.refreshButton(\"EditRouteButton\", selectedRows);\r\n                    $scope.refreshButton(\"DeleteRouteButton\", selectedRows);\r\n                });\r\n            }\r\n        };\r\n```\r\n\r\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.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/ng-grid/issues/comments/87816089","html_url":"https://github.com/angular-ui/ng-grid/issues/2509#issuecomment-87816089","issue_url":"https://api.github.com/repos/angular-ui/ng-grid/issues/2509","id":87816089,"user":{"login":"c0bra","id":105007,"avatar_url":"https://avatars.githubusercontent.com/u/105007?v=3","gravatar_id":"","url":"https://api.github.com/users/c0bra","html_url":"https://github.com/c0bra","followers_url":"https://api.github.com/users/c0bra/followers","following_url":"https://api.github.com/users/c0bra/following{/other_user}","gists_url":"https://api.github.com/users/c0bra/gists{/gist_id}","starred_url":"https://api.github.com/users/c0bra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c0bra/subscriptions","organizations_url":"https://api.github.com/users/c0bra/orgs","repos_url":"https://api.github.com/users/c0bra/repos","events_url":"https://api.github.com/users/c0bra/events{/privacy}","received_events_url":"https://api.github.com/users/c0bra/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T20:16:10Z","updated_at":"2015-03-30T20:16:10Z","body":"I'm going to go ahead and close; if it's still a problem, please open a new issue."}}