{"action":"created","issue":{"url":"https://api.github.com/repos/vaadin/framework8-issues/issues/337","repository_url":"https://api.github.com/repos/vaadin/framework8-issues","labels_url":"https://api.github.com/repos/vaadin/framework8-issues/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/vaadin/framework8-issues/issues/337/comments","events_url":"https://api.github.com/repos/vaadin/framework8-issues/issues/337/events","html_url":"https://github.com/vaadin/framework8-issues/issues/337","id":179478340,"number":337,"title":"Generate an id for each Grid column","user":{"login":"Artur-","id":260340,"avatar_url":"https://avatars.githubusercontent.com/u/260340?v=3","gravatar_id":"","url":"https://api.github.com/users/Artur-","html_url":"https://github.com/Artur-","followers_url":"https://api.github.com/users/Artur-/followers","following_url":"https://api.github.com/users/Artur-/following{/other_user}","gists_url":"https://api.github.com/users/Artur-/gists{/gist_id}","starred_url":"https://api.github.com/users/Artur-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Artur-/subscriptions","organizations_url":"https://api.github.com/users/Artur-/orgs","repos_url":"https://api.github.com/users/Artur-/repos","events_url":"https://api.github.com/users/Artur-/events{/privacy}","received_events_url":"https://api.github.com/users/Artur-/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vaadin/framework8-issues/labels/Data%20sources%20and%20listing%20components","name":"Data sources and listing components","color":"fbca04"},{"url":"https://api.github.com/repos/vaadin/framework8-issues/labels/product%20backlog","name":"product backlog","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-27T12:24:36Z","updated_at":"2016-09-28T22:17:01Z","closed_at":null,"body":"To be consistent whether you are using a bean or not and to be able to mix bean property columns with custom columns, each column should have a `String` id. The id is automatically generated when a column is created or later set using `Column.setId`.\n\nNote that this id is only for the user and not to be used internally for identifying the column!\n\n```\nColumn getColumn(String id)\n```\n\nreturns a Column for the given id.\n\nVisible columns can be set using\n```\nsetColumns(String... columns)\n```\n`setColumns` is not really useful together with `Column` objects. Either you have created the columns already in the correct order and `setColumns` is not needed, or you are e.g. restoring the order from something stored in the database for the user and cannot identify the columns by instances.\n\nThe following methods accept either a `Column` object or a `String` id.\n````\nremoveColumn(Column column);\nremoveColumn(String columnId);\nsort(Column column)\nsort(String columnId)\nsort(Column column, SortDirection direction)\nsort(String columnId, SortDirection direction)\nStaticRow.join(Column... columns)\nStaticRow.join(String... columns)\n```\n\nGenerated column ids are in the form `generated_[running number]`"},"comment":{"url":"https://api.github.com/repos/vaadin/framework8-issues/issues/comments/250318001","html_url":"https://github.com/vaadin/framework8-issues/issues/337#issuecomment-250318001","issue_url":"https://api.github.com/repos/vaadin/framework8-issues/issues/337","id":250318001,"user":{"login":"jdahlstrom","id":4509603,"avatar_url":"https://avatars.githubusercontent.com/u/4509603?v=3","gravatar_id":"","url":"https://api.github.com/users/jdahlstrom","html_url":"https://github.com/jdahlstrom","followers_url":"https://api.github.com/users/jdahlstrom/followers","following_url":"https://api.github.com/users/jdahlstrom/following{/other_user}","gists_url":"https://api.github.com/users/jdahlstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/jdahlstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdahlstrom/subscriptions","organizations_url":"https://api.github.com/users/jdahlstrom/orgs","repos_url":"https://api.github.com/users/jdahlstrom/repos","events_url":"https://api.github.com/users/jdahlstrom/events{/privacy}","received_events_url":"https://api.github.com/users/jdahlstrom/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T22:17:01Z","updated_at":"2016-09-28T22:17:01Z","body":"The user-handle should still be autogenerated unless explicitly set or implicitly mapped from a source of some sort."}}
{"actor":{"display_login":"jdahlstrom"}}