ember-table
ember-table copied to clipboard
Static non sortable rows (Summary row)
I have a table which has quite a few columns with summerizable data. So I am wondering if it is possible to add a row which has a different format from the others ->
Header
| First Name | Last name | Stuff done |
|---|---|---|
| Totals | 100 | |
| Tony | Stark | 60 |
| Bruce | Banner | 40 |
The totals row should be taken out of the sorting pool so that when you sort by a column the row will stay where it is, at the top.
Is something like that possible?
So far we have rolled our own tables but we would like to embrace new stuff.
Best regards Thomas
You could implement a footer. https://opensource.addepar.com/ember-table/latest/docs/api/components/ember-tfoot
Let me try that real quick.
That is certainly an option. Thanks for the tip
@teejayhh Did using a footer work for the use case you describe here?