styling individual rows in a Vuetify data table

后端 未结 4 2290
没有蜡笔的小新
没有蜡笔的小新 2021-02-14 04:36

Can I apply different styling for a specific row in a data table?

This is my code:



        
4条回答
  •  猫巷女王i
    2021-02-14 05:03

    You can actually wrap your elements within a element. Then you can use Vue style binding to determine whether you want classes applied or not.

    
    

    It renders out the tbody block with a row (tr) with applied class names and the child columns contained within.

提交回复
热议问题