I am using this css code to change every odd/even tr bg color
tbody tr:nth-child(odd){background-color: #b2b2b2;}
tbody tr:nth-child(even){background-color:black;}
But i am filtering table data and based on conditions some TR will be hidden.
so if style="display: none;"
then apply odd/even rules only for visible TR only.
Otherwise it look like attached image