Selecting only `td` elements from the root table (not nested tables inside the root table)
Hey! i have a ref to a table element and I want to querySelectorAll its td in a certain index. I came up with the following:
it works very nicely but it also selects
I want to select only the
Can someone assist me? i'm open to JS and CSS solutions
it works very nicely but it also selects
td elements from nested drawer tables, (which are basically the same table inside a certain tr).I want to select only the
tds of the root table.Can someone assist me? i'm open to JS and CSS solutions