{"action":"opened","issue":{"url":"https://api.github.com/repos/liferay/clay/issues/1328","repository_url":"https://api.github.com/repos/liferay/clay","labels_url":"https://api.github.com/repos/liferay/clay/issues/1328/labels{/name}","comments_url":"https://api.github.com/repos/liferay/clay/issues/1328/comments","events_url":"https://api.github.com/repos/liferay/clay/issues/1328/events","html_url":"https://github.com/liferay/clay/issues/1328","id":383816338,"node_id":"MDU6SXNzdWUzODM4MTYzMzg=","number":1328,"title":"Add rowClasses and selectedRowClasses to ClayTable","user":{"login":"jbalsas","id":905006,"node_id":"MDQ6VXNlcjkwNTAwNg==","avatar_url":"https://avatars1.githubusercontent.com/u/905006?v=4","gravatar_id":"","url":"https://api.github.com/users/jbalsas","html_url":"https://github.com/jbalsas","followers_url":"https://api.github.com/users/jbalsas/followers","following_url":"https://api.github.com/users/jbalsas/following{/other_user}","gists_url":"https://api.github.com/users/jbalsas/gists{/gist_id}","starred_url":"https://api.github.com/users/jbalsas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbalsas/subscriptions","organizations_url":"https://api.github.com/users/jbalsas/orgs","repos_url":"https://api.github.com/users/jbalsas/repos","events_url":"https://api.github.com/users/jbalsas/events{/privacy}","received_events_url":"https://api.github.com/users/jbalsas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-23T12:59:30Z","updated_at":"2018-11-23T12:59:30Z","closed_at":null,"author_association":"MEMBER","body":"Currently, [ClayTable](https://clayui.com/docs/components/table/table.html) renders a very restrictive markdown. More specifically, it [doesn't allow additional classes on the table rows](https://github.com/liferay/clay/blob/master/packages/clay-table/src/ClayTable.soy#L171).\r\n\r\nWe should at least add the following:\r\n- `rowClasses: string`. List of classes to append to the `tr` element\r\n- `selectedRowClasses: string`. List of classes to append to the `tr` element **when the row is selected**. These classes will be added in addition to the ones set in `rowClasses`\r\n\r\nBy configuring this, users would have more control on the row states that should facilitate certain animations or interactions.\r\n\r\n![table](https://user-images.githubusercontent.com/905006/48944672-fd770980-ef27-11e8-86e7-957875d59d98.gif)\r\n"}}
{"actor":{"display_login":"jbalsas"}}