I'm submitting a ... (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[*] feature request
[ ] support request => Please do not submit support request here
Current behavior
There is no way to include header(not table header, but title for table) and custom footer template. I was trying to add a custom footer but the shadow styling around the table is making the footer a bit ugly. I will have to override most of the styling to make it better.
Expected behavior
It would be nice to just take a footer template and title template
Reproduction of the problem
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Table version: 0.7.x
Angular version: 2.0.x
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5]
Just wondering if this will be happening any time soon as it is a really good feature which will allow for even further customisation.
It seems that the footer template already exists: https://github.com/swimlane/ngx-datatable/blob/master/demo/basic/footer.component.ts
Needed header templates too, and seems like you can do it like this:
<ngx-datatable-column>
<ng-template ngx-datatable-header-template>
whatewer you need
</ng-template>
</ngx-datatable-column>