{"action":"closed","issue":{"url":"https://api.github.com/repos/edvin/tornadofx/issues/11","repository_url":"https://api.github.com/repos/edvin/tornadofx","labels_url":"https://api.github.com/repos/edvin/tornadofx/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/edvin/tornadofx/issues/11/comments","events_url":"https://api.github.com/repos/edvin/tornadofx/issues/11/events","html_url":"https://github.com/edvin/tornadofx/issues/11","id":135257110,"number":11,"title":"TableView Builder?","user":{"login":"thomasnield","id":7420801,"avatar_url":"https://avatars.githubusercontent.com/u/7420801?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasnield","html_url":"https://github.com/thomasnield","followers_url":"https://api.github.com/users/thomasnield/followers","following_url":"https://api.github.com/users/thomasnield/following{/other_user}","gists_url":"https://api.github.com/users/thomasnield/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasnield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasnield/subscriptions","organizations_url":"https://api.github.com/users/thomasnield/orgs","repos_url":"https://api.github.com/users/thomasnield/repos","events_url":"https://api.github.com/users/thomasnield/events{/privacy}","received_events_url":"https://api.github.com/users/thomasnield/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-21T20:51:05Z","updated_at":"2016-02-22T15:13:44Z","closed_at":"2016-02-22T15:13:44Z","body":"Do you think it is possible to create a `TableView` builder? I think it would go nicely with the `TableView` extensions already present. I can put in a PR and try to work out the details if needed, unless somebody has a faster vision than me on how to do it.\r\n\r\n```\r\ntableview {\r\n        items = getMyItems()\r\n        addColumn<ReportItem,String>(\"Category\") { it.value.name }\r\n        addColumn<ReportItem,BigDecimal>(\"Week\") { it.value.weekTotal }\r\n}\r\n```"}}