Ngx-datatable: Feature: Allow title/header template and footer template

Created on 22 Nov 2016  路  3Comments  路  Source: swimlane/ngx-datatable

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]

In Discussion Investigate

All 3 comments

Just wondering if this will be happening any time soon as it is a really good feature which will allow for even further customisation.

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>
Was this page helpful?
0 / 5 - 0 ratings

Related issues

id1945 picture id1945  路  3Comments

jguttman94 picture jguttman94  路  3Comments

ChanBen picture ChanBen  路  3Comments

rotemx picture rotemx  路  3Comments

eddy-geek picture eddy-geek  路  3Comments