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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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