Closed johntom closed 11 years ago
what are you setting it to? can you pop up a plunker?
Sorry, should have known better. In my project I'm building a shopping cart with ng-grid.
http://plnkr.co/edit/gLiNSqK0cjD2FRZ4KZ9c?p=preview
From: Tim Sweet [mailto:notifications@github.com] Sent: Tuesday, April 16, 2013 4:59 PM To: angular-ui/ng-grid Cc: John R. Tomaselli Subject: Re: [ng-grid] HeaderRowTemplate (#346)
what are you setting it to? can you pop up a plunker?
— Reply to this email directly or view it on GitHub https://github.com/angular-ui/ng-grid/issues/346#issuecomment-16471382 . https://github.com/notifications/beacon/j9yi2VKYyNfuAJMDa9D7nAdCnMsZdAFVCvgZnXoJTWlx1eBMJ4KNCO8VDby00BRn.gif
No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3272 / Virus Database: 3162/6245 - Release Date: 04/14/13
that's because the headerRowTemplate is exactly that. it contains the headers for the grid. if you replace the template with one that doesn't contain headers..... there won't be any headers.
Thanks, I just wanted to make sure I wasn't doing something wrong,
From: Tim Sweet [mailto:notifications@github.com] Sent: Tuesday, April 16, 2013 5:20 PM To: angular-ui/ng-grid Cc: John R. Tomaselli Subject: Re: [ng-grid] HeaderRowTemplate (#346)
that's because the headerRowTemplate is exactly that. it contains the headers for the grid. if you replace the template.. there won't be any headers.
http://plnkr.co/edit/M4mh4Ekob9YPAufrZl8x?p=preview
— Reply to this email directly or view it on GitHub https://github.com/angular-ui/ng-grid/issues/346#issuecomment-16472501 . https://github.com/notifications/beacon/j9yi2VKYyNfuAJMDa9D7nAdCnMsZdAFVCvgZnXoJTWlx1eBMJ4KNCO8VDby00BRn.gif
No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3272 / Virus Database: 3162/6245 - Release Date: 04/14/13
Hi Tim, It seems that setting the headerRowTemplate:headTemplate deletes the columnDefs. Am I doing something wrong or Is that the expected behavior? TIA John