swimlane / ngx-datatable

✨ A feature-rich yet lightweight data-table crafted for Angular
http://swimlane.github.io/ngx-datatable/
MIT License
4.63k stars 1.68k forks source link

Support for multi-rows header #485

Closed yuvalbl closed 7 years ago

yuvalbl commented 7 years ago

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here

Current behavior

No support for multi-rows header (or not documnated)

Expected behavior

The docs doesn't specify this. I would like some of the the table spread on multiple rows(see image) and still allow sorting, filtering etc. Maybe it's already supported (just not documanted) See my stackoverflow question on this topic ngxdatatable_2rows_headers

Please tell us about your environment:

Linux ubuntu, webstorm

yuvalbl commented 7 years ago

@amcdnl seems like this request already exist with a different (lower) priority.

olaf89 commented 7 years ago

It would be awsome

kuncevic commented 7 years ago

I am also wondering how would you add something like row-detail inside header so you can expand that and apply filtering options, etc e.g http://www.morevisibility.com/blogs/analytics/wp-content/uploads/2009/11/filters02.jpg

As I can see form the basic filtering example the filter is actually placed on top of the datatable, so I might consider this option for now but, still wondering how to add expandable section inside header.

macintoshplus commented 7 years ago

HI,

Thanks for your nice work and library. I have need create one data table with 2 headers (sortable) per column.

Are you an idea for how to make this ?

Thanks in advance.

amcdnl commented 7 years ago

Closing this as dupe. Lets move the convo to the issue mentioned above.

subodhkalika commented 4 years ago

This could be helpful #1665