Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
How can I make a striping table rows in Adv PDF templates?
Hi experts,
Anyone experienced adding striped table rows on their Adv. PDF templates?
I tried using nth-child() selector for CSS but It only applies the BG color to every cell in every table even if I set bg colors for odd/even rows.
I have also looked on this article from the help center: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N2866065.html#procedure_N2866098
<tr style="background-color: ${((item_index % 2)==0)?string('#ffffff', '#ccffcc')};">
but I'm not sure where does "item_index"came from.
Any feedback is appreciated. Thanks very much in advance!
0