Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
265
Conditionally set columnCssClass?
posted

What is the best way to set columnCssClass value conditionally in igGrid, for example based on a certain row property value?

Thanks!

Parents
No Data
Reply
  • 0
    Offline posted

    We had a requirement to display some rows in the grid with strikethrough text and red color based on a certain row property.

    This required setting the column template on all the columns.

    Check this JS fiddle for sample implementation - https://jsfiddle.net/smfuge53/3/

    Thank you!

Children
No Data