Skip to content

igx-grid row style(css)

New Discussion
B R
B R asked on Apr 2, 2019 6:48 AM

Hi

Is there a way to set the background color of rows based on a particular column value? Odd-even setting would not be of much help for me here.

Thanks

B.

Sign In to post a reply

Replies

  • 0
    Desislava Dincheva
    Desislava Dincheva answered on Aug 22, 2018 9:15 AM

    Hello,
    Thank you for contacting Infragistics Support.

    Currently, we do not provide a way to set a custom classes for specific row, so it is not possible to set a style to specific row based on particular cell value (I guess by column value you mean cell value), you can only define a custom template  and style for a specific cell. If I did not correctly catch up your case please provide more detailed information about it in order to be able to help you. You can also log an issue as a feature request in our GitHub repository and we will review and start work on it as soon as possible.

    If you need any further assistance, please contact us.

    • 0
      B R
      B R answered on Aug 22, 2018 3:35 PM

      Thank you. I hope this is something that will be available in the upcoming versions.

      • 0
        Konstantin Dinev
        Konstantin Dinev answered on Dec 11, 2018 3:59 PM

        Hi there,

        Just letting you know that this functionality was made available with one of our releases. You can check it out here:

        https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid_conditional_cell_styling.html

        Thank you for using Ignite UI for Angular!

        Konstantin Dinev

      • 0
        arsv M
        arsv M answered on Mar 29, 2019 6:30 PM

        I am not able to change whole row back ground color in igx grid based on column value. Could you please provide me an example.

      • 0
        Desislava Dincheva
        Desislava Dincheva answered on Apr 2, 2019 6:48 AM

        Hello,
        I have built a small sample, where i changed the background color for every cell from specific row, where one column value match a specific criteria. Please take a look at the sample and do not hesitate to ask if you have any additional questions.

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
B R
Favorites
0
Replies
5
Created On
Apr 02, 2019
Last Post
7 years, 4 months ago

Suggested Discussions

Created by

B R

Created on

Apr 2, 2019 6:48 AM

Last activity on

Feb 11, 2026 9:27 PM