Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datatable headerRow expanded attribute #2443

Closed
PlassJ opened this issue Jun 16, 2017 · 3 comments · Fixed by #6329
Closed

Datatable headerRow expanded attribute #2443

PlassJ opened this issue Jun 16, 2017 · 3 comments · Fixed by #6329
Assignees
Labels
🚫 duplicate Duplicate of a similar issue
Milestone

Comments

@PlassJ
Copy link
Contributor

PlassJ commented Jun 16, 2017

While using the Datatable with expandableRowGroups, it would be really nice to control the togglestate of each headerRow.

I would like to suggest an expanded attribute for headerRow, see sample XHTML.

Sample XHTML:

<p:dataTable var="car" value="#{dtRowGroupView.cars}" sortBy="#{car.brand}" expandableRowGroups="true">
        <p:headerRow expanded="#{car.brand eq 'BMW'}" >
            <p:column colspan="3">
                <h:outputText value="#{car.brand}" />
            </p:column>
        </p:headerRow>
        <p:column headerText="Year">
            <h:outputText value="#{car.year}" />
        </p:column>
</p:dataTable>`
@tandraschko tandraschko changed the title Feature Request: Datatable headerRow expanded attribute. Datatable headerRow expanded attribute Jun 16, 2017
@PlassJ PlassJ closed this as completed Nov 15, 2017
@Dougnlizt
Copy link

@PlassJ , I see you closed this request. Any particular reason why? I thought it was a good suggestion, and I'd like to see it added as well.

@PlassJ
Copy link
Contributor Author

PlassJ commented May 23, 2019

@Dougnlizt , oh dear .... this is nearly 2 years old .... @tandraschko did you know something about this?

@melloware
Copy link
Member

fixed for 9.0: #6325

@melloware melloware self-assigned this Sep 29, 2020
@melloware melloware added this to the 9.0 milestone Sep 29, 2020
@melloware melloware added 🚫 duplicate Duplicate of a similar issue and removed new feature labels Sep 29, 2020
@melloware melloware linked a pull request Sep 29, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚫 duplicate Duplicate of a similar issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants