{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ng-grid/issues/3760","labels_url":"https://api.github.com/repos/angular-ui/ng-grid/issues/3760/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ng-grid/issues/3760/comments","events_url":"https://api.github.com/repos/angular-ui/ng-grid/issues/3760/events","html_url":"https://github.com/angular-ui/ng-grid/issues/3760","id":87506429,"number":3760,"title":"Custom template 317 and how to make it work with pinning","user":{"login":"rkilarski","id":8093793,"avatar_url":"https://avatars.githubusercontent.com/u/8093793?v=3","gravatar_id":"","url":"https://api.github.com/users/rkilarski","html_url":"https://github.com/rkilarski","followers_url":"https://api.github.com/users/rkilarski/followers","following_url":"https://api.github.com/users/rkilarski/following{/other_user}","gists_url":"https://api.github.com/users/rkilarski/gists{/gist_id}","starred_url":"https://api.github.com/users/rkilarski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkilarski/subscriptions","organizations_url":"https://api.github.com/users/rkilarski/orgs","repos_url":"https://api.github.com/users/rkilarski/repos","events_url":"https://api.github.com/users/rkilarski/events{/privacy}","received_events_url":"https://api.github.com/users/rkilarski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-11T21:29:00Z","updated_at":"2015-06-17T21:59:51Z","closed_at":null,"body":"The \"merged cells\" sample custom template in Tutorial 317 (http://ui-grid.info/docs/#/tutorial/317_custom_templates) is actually a real feature we have in our grids.  However, we are struggling with how to enable this feature along with pinning.  Currently, when we pin a column, the merged cell repeats in the new viewport.\r\n\r\nYou can see that in this example plunker:  http://plnkr.co/edit/rRNmh2XALvRLRaKejdkr?p=preview\r\n\r\nwhere \"A merged row\" appears in each pinned viewport.\r\n\r\nQuestion/bug/feature:  How would we keep the merged cell to take the entire horizontal width of the grid while keeping the pinned columns on the regular rows?"},"comment":{"url":"https://api.github.com/repos/angular-ui/ng-grid/issues/comments/112962970","html_url":"https://github.com/angular-ui/ng-grid/issues/3760#issuecomment-112962970","issue_url":"https://api.github.com/repos/angular-ui/ng-grid/issues/3760","id":112962970,"user":{"login":"PaulL1","id":5248789,"avatar_url":"https://avatars.githubusercontent.com/u/5248789?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulL1","html_url":"https://github.com/PaulL1","followers_url":"https://api.github.com/users/PaulL1/followers","following_url":"https://api.github.com/users/PaulL1/following{/other_user}","gists_url":"https://api.github.com/users/PaulL1/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulL1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulL1/subscriptions","organizations_url":"https://api.github.com/users/PaulL1/orgs","repos_url":"https://api.github.com/users/PaulL1/repos","events_url":"https://api.github.com/users/PaulL1/events{/privacy}","received_events_url":"https://api.github.com/users/PaulL1/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T21:59:50Z","updated_at":"2015-06-17T21:59:50Z","body":"That won't be easy, since in the DOM the hierarchy includes the renderContainer - essentially columns are higher in the hierarchy than rows.  I think the best you can do is to have slightly different templates for the body and left containers, so it looks like a merged row, even though it actually isn't."}}