The table I have contains multiple div
elements, each corresponding to an item in an array.
Within the table, there is a single tr
, and the 1st and 2nd td
are not directly related to the 3rd and 4th td
.
Each td
in the table repeats a div
element for the length of an array. For example, the first column between Balance B/d
and Income
represents an array, and so does Income
and subsequent elements.
Although I tried to apply a shaded-row
style to every even row using ng-class
, it didn't work as expected. Another method I considered was using .statement-item:nth-child(even)
, but this approach requires the removal of the parent statement-container
. Is there a better solution?
<!-- Table structure here -->