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

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

rsalerirsaleri Posts: 6Questions: 1Answers: 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?

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.