Logi Info Forum Threads    >    Posts

Set row class dynamically based on data

K.C. Abishek
United States

12 Aug 2019 04:09 PM
This thread has been resolved and is closed.
12.5.175-SP3   Java app   105 views   


I'm looking to add css to specific rows in the data table based on the data.

I did read somewhere in the documentation that i can use '@ Data' to dynamically add the row class. Can someone help me with the syntax to add the conditional class to a specific row.

Eric Newton
United States

15 Aug 2019 07:37 AM

Use a Conditional Class element under every Data Table Column element. See the Working with Conditions doc for an example of how to dynamically apply the styling based on data.



United States
7900 Westpark Drive
Suite A200
Virginia, 22102

United Kingdom
Scott House
The Concourse
Waterloo Station
London, SE1 7LY
020 3103 0306

20 Harcourt Street
Suite 10
D02 H364
3531 400 7506

© Copyright 2020 Logi Analytics, Inc. All Rights Reserved           |          Contact DevNet          |          Site FAQs          |          Terms of Use          |          LogiAnalytics.com