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

Apply TreeNode styleClass on TreeTable row. #2441

Closed
steveschmitt opened this issue Mar 31, 2017 · 4 comments
Closed

Apply TreeNode styleClass on TreeTable row. #2441

steveschmitt opened this issue Mar 31, 2017 · 4 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@steveschmitt
Copy link

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

[ ] bug report => Search github for a similar issue or PR before submitting
[X] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Please add a rowStyleClass to the TreeNode that will be applied to the div row containing the node. Currently one can use styleClass to affect individual columns, but not the containing row.

What is the motivation / use case for changing the behavior?
This would allow individual rows to be styled, e.g. striping the table or highlighting rows based on content.

Please tell us about your environment: Windows, VSCode, Node

  • Angular version: 2.4.10

  • PrimeNG version: 2.0.5

  • Browser: All

  • Language: All

@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Jun 22, 2017
@ryancui92
Copy link

We need this feature too

I notice in the documentation, the definition of TreeNode contains style and styleClass but I found no implementation in source code. Hope be soon

@ghost
Copy link

ghost commented Sep 13, 2017

+1

@UlricW
Copy link

UlricW commented Sep 19, 2017

Hi,
what's new about this feature ? is it a chance to be implemented ?
We need this kind of feature for our application

thanks

@ghost
Copy link

ghost commented Sep 22, 2017

added pull request #4015

@cagataycivici cagataycivici changed the title TreeTable: allow setting class on row Apply TreeNode styleClass on TreeTable row. Oct 3, 2017
@cagataycivici cagataycivici self-assigned this Oct 3, 2017
@cagataycivici cagataycivici added this to the 4.2.2 milestone Oct 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

4 participants