{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/fixed-data-table/issues/397","repository_url":"https://api.github.com/repos/facebook/fixed-data-table","labels_url":"https://api.github.com/repos/facebook/fixed-data-table/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fixed-data-table/issues/397/comments","events_url":"https://api.github.com/repos/facebook/fixed-data-table/issues/397/events","html_url":"https://github.com/facebook/fixed-data-table/issues/397","id":154267836,"number":397,"title":"Column `align` aligns header but not cell contents.","user":{"login":"ses4j","id":435529,"avatar_url":"https://avatars.githubusercontent.com/u/435529?v=3","gravatar_id":"","url":"https://api.github.com/users/ses4j","html_url":"https://github.com/ses4j","followers_url":"https://api.github.com/users/ses4j/followers","following_url":"https://api.github.com/users/ses4j/following{/other_user}","gists_url":"https://api.github.com/users/ses4j/gists{/gist_id}","starred_url":"https://api.github.com/users/ses4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ses4j/subscriptions","organizations_url":"https://api.github.com/users/ses4j/orgs","repos_url":"https://api.github.com/users/ses4j/repos","events_url":"https://api.github.com/users/ses4j/events{/privacy}","received_events_url":"https://api.github.com/users/ses4j/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-11T15:09:22Z","updated_at":"2016-05-11T15:59:44Z","closed_at":"2016-05-11T15:59:44Z","body":"Desired behavior is for the cell contents to be centered, but setting `column.align` property only seems to affect header.\r\n\r\nDemo of issue:\r\nhttp://jsbin.com/saqeru/1/edit?js,output\r\n\r\nThe column is `align:center` but it only aligns the header.  The css is applied to the column cells but it doesn't do anything because of all the wrapping divs.\r\n\r\nIt seems that it works as expected if you set the column `cell` directly to a `<Cell />`, but not if you set `cell` to a component (as in all the examples) like so:\r\n\r\n```\r\nconst TextCell = ({rowIndex, data, col, props}) => (\r\n  <Cell {...props}>\r\n    {data.getObjectAt(rowIndex)[col]}\r\n  </Cell>\r\n);\r\n```\r\n\r\nFor some reason, the fixed width/height don't get set anymore on the wrap1 div and textAlign can't do it's thing."}}