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

Dynamic styling for tr Row doesn't work #974

Closed
s-keerthi-code opened this issue May 10, 2022 · 4 comments · May be fixed by #1315
Closed

Dynamic styling for tr Row doesn't work #974

s-keerthi-code opened this issue May 10, 2022 · 4 comments · May be fixed by #1315
Labels
wontfix This will not be worked on

Comments

@s-keerthi-code
Copy link

Describe the bug
I have a situation where I have to add styles to a row based on the row data. However only static styling for tr is possible. How can I do this?

@stale
Copy link

stale bot commented Jul 10, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jul 10, 2022
@ewwink
Copy link

ewwink commented Jul 29, 2022

I need this too, but temporary solution use grid.on(ready) function

myGrid.on('ready', () => {
      $('#myTable td:nth-child(1)').each((index, td) => {
          if (td.textContent > 0)
              td.parentElement.className = "myRowClass";
      })
})

@stale stale bot removed the wontfix This will not be worked on label Jul 29, 2022
@stale
Copy link

stale bot commented Sep 28, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Sep 28, 2022
@stale stale bot closed this as completed Oct 14, 2022
@BafS
Copy link

BafS commented Jan 18, 2023

Same question, we can customize the cell easily, we can get the column id, but what about the complete row (aka tr)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants