{"action":"closed","issue":{"url":"https://api.github.com/repos/adazzle/react-data-grid/issues/277","repository_url":"https://api.github.com/repos/adazzle/react-data-grid","labels_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/277/comments","events_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/277/events","html_url":"https://github.com/adazzle/react-data-grid/issues/277","id":147446509,"number":277,"title":"Ability to use a react component as a header row column name","user":{"login":"zpfled","id":5231407,"avatar_url":"https://avatars.githubusercontent.com/u/5231407?v=3","gravatar_id":"","url":"https://api.github.com/users/zpfled","html_url":"https://github.com/zpfled","followers_url":"https://api.github.com/users/zpfled/followers","following_url":"https://api.github.com/users/zpfled/following{/other_user}","gists_url":"https://api.github.com/users/zpfled/gists{/gist_id}","starred_url":"https://api.github.com/users/zpfled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zpfled/subscriptions","organizations_url":"https://api.github.com/users/zpfled/orgs","repos_url":"https://api.github.com/users/zpfled/repos","events_url":"https://api.github.com/users/zpfled/events{/privacy}","received_events_url":"https://api.github.com/users/zpfled/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-11T14:24:46Z","updated_at":"2016-04-12T08:55:04Z","closed_at":"2016-04-12T08:55:04Z","body":"Hi, I would love to be able to pass in a React node as a column name so that I can, for example, indicate required fields with a red asterisk in the header row. \r\n\r\n<img width=\"359\" alt=\"screen shot 2016-04-11 at 9 18 44 am\" src=\"https://cloud.githubusercontent.com/assets/5231407/14430352/d6bfd34c-ffc6-11e5-9b8e-4c54d4815af5.png\">\r\n\r\nDoing this works, but generates a bunch of React 'Failed Proptype' warnings, like so:\r\n\r\n```\r\nWarning: Failed propType: Invalid prop `column.name` of type `object` supplied to `HeaderCell`, expected `string`. Check the render method of `HeaderRow`.\r\n```\r\n\r\nI got rid of most of them by creating a custom RowRenderer, but I still get the one for the Header Row."}}