cancel
Showing results for 
Search instead for 
Did you mean: 

ColumnListItem visible property affecting css

0 Kudos

Hey,

I'm using a table to show a list of column list items and i set the visible property with a condition of what items to show,

the problem is that i want odd and even raws background color to be different and because of the visible condition it doesnt work as i expect (after removing the visible flag i do get the expected behavior).

any ideas how to solve the problem would be much appreciated!

karthikarjun
Active Contributor
0 Kudos

Hi Lidor ziflinger, Can you share your code in jsbin or plunkr?

Regards,

Karthik Arjun

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member322772
Active Participant
0 Kudos

I'm not sure how you are doing your CSS, but you set alternateRowColors="true" to the table (assuming it is sap.m.Table), and add the CSS to set your background colour on the sapMListTblRowAlternate class? I have tested it and it worked for me.