Skip to content

[DataTable] RowGroupHeader show same columns as the rows that are being grouped (i.e. do what the footer is doing) #791

Closed Answered by melloware
craigcWC3 asked this question in PrimeReact
Discussion options

You must be logged in to vote

OK I made it better there is a setting options.customerRendering = true

const headerTemplate = (data, options) => {
    options.customRendering = true;

https://stackblitz.com/edit/react-4bmrwf-fwgj8o?file=src%2FApp.js

That puts the rendering of the Column Header fully under your control and the <td> line up. However there is still the issue of the missing RowToggler now.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@craigcWC3
Comment options

@melloware
Comment options

@melloware
Comment options

@melloware
Comment options

Answer selected by craigcWC3
@craigcWC3
Comment options

@melloware
Comment options

@sdenvs
Comment options

@craigcWC3
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants