How to set css property dynamically for each row using Database (using inline css) in VUE - Vue good table

244 views Asked by At

Can someone help me with the custom style for each row? I need to set the background color of each row dynamically. I read the complete document with an example but did not found any solution for this. I found that a custom class is available.

        <vue-good-table
        :columns="columns"
        :rows="rows"
        styleClass="vgt-table">
        </vue-good-table>

But I need a custom style instead of a class like a background color that will be served from DB in the SST table. Thanks

0

There are 0 answers