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   46 views   


Hi, 

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.

 


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