Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82358

Duplicate id's

$
0
0

When generating a table, id tags get an auto-generated tag of "row_XXX" The tag is clearly using the id number (key) of the applicable table.

I am using nested tables (from your Parent/Child) example. Since each table has an id/key that started at 1, I am encountering nested tables in the same HTML subtree with identical id's! When looking in DevTools and hovering over the first one (which has a squiggly green line indicating an "issue") it says "id attribute must be unique".

Is this indeed an issue?

How can I generate a unique UID that I can use for ALL tables so that I never have duplicates?


Viewing all articles
Browse latest Browse all 82358

Trending Articles