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

cellStyle background color print #7511

Open
hinditutorpoint opened this issue Sep 19, 2024 · 0 comments
Open

cellStyle background color print #7511

hinditutorpoint opened this issue Sep 19, 2024 · 0 comments
Labels
help-wanted Issues we need or would love help from the community to resolve.

Comments

@hinditutorpoint
Copy link

hinditutorpoint commented Sep 19, 2024

Description

when we print the table then why background color is normal if there are any method please let me know

Example(s)

  function cellStyle(value, row, index) {
    if (parseFloat(value) == 0) {
      return {
        css: {
          'background-color': 'green',
          'color':'white',
          'font-weight':'bold'
        }
      }
    }
    return {
        css: {
          'background-color': 'red',
          'color':'white',
          'font-weight':'bold'
        }
      }
  }

No response

@hinditutorpoint hinditutorpoint added the help-wanted Issues we need or would love help from the community to resolve. label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-wanted Issues we need or would love help from the community to resolve.
Projects
None yet
Development

No branches or pull requests

1 participant