Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道如何使 p 表的第一列与其余列的颜色不同?然后其他列交替颜色?我似乎只能找到一种方法来处理行?目前样式类就是这样 -
[styleClass]="'p-datatable-gridlines'"
这使得行交替颜色,而不是列。
<!DOCTYPE html> <head> <body> <meta charset-utf"8"> <color>="blue"</color> </body> </head> <color>"blue"</color>