Open PEsteves8 opened 7 years ago
Thats really interesting, not had it in my plans. It would be pretty difficult feat but I'm open to PR's and providing feedback on how.
+1
Has this been achieved yet?
Also wondering if this feat is something that has been achieved ? Can't seem to find any info on the documentation site.
As far as I know, there is row grouping, but no PRs for column groups
I would love to see this feature
do it please!
Some status?
I'm working on table now which needs such feature and I came here. Meh ;-)
Year and a half passed and still nothing? :(
Try PrimeNg man, I did give up ngx-datatable.
Em Sex, 18 de mai de 2018 18:56, Pavel notifications@github.com escreveu:
Year and a half passed and still nothing? :(
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/swimlane/ngx-datatable/issues/407#issuecomment-390343208, or mute the thread https://github.com/notifications/unsubscribe-auth/AYCB_SMsr7rLDmsYenR0bA0Ttxf-f27_ks5tz0OGgaJpZM4LZwbd .
The absence of column grouping forces my hand to abandon ngx-datatable and seek other solutions.
I would love to see this feature asap 🙏
still nothing....
Although nested column headers is'nt supported yet, i've found a workaround by leveraging ngx-datatable-header-template and ngx-datatable-cell-template and html's <table>
elements.
<ngx-datatable-column prop="prop" headerClass="my-custom-header-class" [cellClass]="'my-custom-cell-class'" [flexGrow]="4" [resizeable]="false" [draggable]="false">
<ng-template let-column="column" ngx-datatable-header-template>
<table>
<thead>
<tr>
<th colspan="4">Parent Heading</th>
</tr>
<tr>
<th>Child Heading 1</th>
<th>Child Heading 2</th>
<th>Child Heading 3</th>
<th>Child Heading 4</th>
</tr>
</thead>
</table>
</ng-template>
<ng-template let-row="row" ngx-datatable-cell-template>
<table>
<tbody>
<tr>
<td>child1data</td>
<td>child2data</td>
<td>child3data</td>
<td>child4data</td>
</tr>
</tbody>
</table>
</ng-template>
</ngx-datatable-column>
any update on this feature?
I'm submitting a ... (check one with "x")
Are any plans to support multiple tier headers/headers spanning multiple rows or columns similar to these?: https://www.w3.org/WAI/tutorials/tables/irregular/
This might be the only feature that prevents this module from having everything I might ever need in a datatable.
Maybe there already is a way of doing that using the templates, but I've been trying around and have had no luck.
(also pinning top headers could also be interesting)
I'm assuming the ability to do that would actually have to be implemented in the library itself, right?
Thanks.