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

How can I add class/properties to tr and td element in vue component?

$
0
0

Hello,
we are doing a big refactor of a webapplication and we are migrating from JSP+jQuery (1.9) to Nuxt3

In the old application the tables are initialized in plain html using JSP forEach, which gave us full liberty to tr and td elements:

We used this to give classes, id, and data- properties to tr and td elements, but I cannot find how to do it using the vue3 component.

I'm using the v3.0.1 and the column slots are working, but they're very limited.

Is there a way I can achieve this?


Viewing all articles
Browse latest Browse all 82251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>