{"action":"created","issue":{"url":"https://api.github.com/repos/obogo/ux-angularjs-datagrid/issues/85","labels_url":"https://api.github.com/repos/obogo/ux-angularjs-datagrid/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/obogo/ux-angularjs-datagrid/issues/85/comments","events_url":"https://api.github.com/repos/obogo/ux-angularjs-datagrid/issues/85/events","html_url":"https://github.com/obogo/ux-angularjs-datagrid/issues/85","id":114905995,"number":85,"title":"Ideas to implement variable row height","user":{"login":"bronzovik","id":12003009,"avatar_url":"https://avatars.githubusercontent.com/u/12003009?v=3","gravatar_id":"","url":"https://api.github.com/users/bronzovik","html_url":"https://github.com/bronzovik","followers_url":"https://api.github.com/users/bronzovik/followers","following_url":"https://api.github.com/users/bronzovik/following{/other_user}","gists_url":"https://api.github.com/users/bronzovik/gists{/gist_id}","starred_url":"https://api.github.com/users/bronzovik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bronzovik/subscriptions","organizations_url":"https://api.github.com/users/bronzovik/orgs","repos_url":"https://api.github.com/users/bronzovik/repos","events_url":"https://api.github.com/users/bronzovik/events{/privacy}","received_events_url":"https://api.github.com/users/bronzovik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-03T20:45:49Z","updated_at":"2015-11-11T23:56:50Z","closed_at":null,"body":"I'm trying to implement variable row height support (we need ALL rows to expand upon event). The idea is to create one template per row of data by inheriting from the base template and overriding height property. Upon all rows expansion the new dataset is created with a unique template per row and is supplied to the grid.\r\n\r\nThis works pretty well up to a certain point. Several problems here:\r\n1) ```afterRenderAfterDataChange()``` only triggers ```inst.templateModel.updateTemplateHeights()``` if the first template height is different, which is not always the case. This is easy to circumvent by forcing update.\r\n2) ```inst.templateModel.updateTemplateHeights``` only recalculates for an active range. No other calculation is done when rows are scrolled into viewport => :boom:\r\n\r\nAny suggestions on how to implement that gracefully would be really helpful."},"comment":{"url":"https://api.github.com/repos/obogo/ux-angularjs-datagrid/issues/comments/155948388","html_url":"https://github.com/obogo/ux-angularjs-datagrid/issues/85#issuecomment-155948388","issue_url":"https://api.github.com/repos/obogo/ux-angularjs-datagrid/issues/85","id":155948388,"user":{"login":"wesjones","id":820773,"avatar_url":"https://avatars.githubusercontent.com/u/820773?v=3","gravatar_id":"","url":"https://api.github.com/users/wesjones","html_url":"https://github.com/wesjones","followers_url":"https://api.github.com/users/wesjones/followers","following_url":"https://api.github.com/users/wesjones/following{/other_user}","gists_url":"https://api.github.com/users/wesjones/gists{/gist_id}","starred_url":"https://api.github.com/users/wesjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesjones/subscriptions","organizations_url":"https://api.github.com/users/wesjones/orgs","repos_url":"https://api.github.com/users/wesjones/repos","events_url":"https://api.github.com/users/wesjones/events{/privacy}","received_events_url":"https://api.github.com/users/wesjones/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T23:56:50Z","updated_at":"2015-11-11T23:56:50Z","body":"1.4.1 just published.\r\n[VaribleRowHeights](http://obogo.github.io/ux-angularjs-datagrid/#variableRowHeights)\r\nPlease try it out and let me know. Thanks."}}