Here is the code that I am currently trying:
Code: Select all
.p-datatable.p-datatable-odd {
background-color:red;
background-image: none;
}
.p-datatable.p-datatable-even {
background-color:blue;
background-image: none;
}
Code: Select all
.p-datatable.p-datatable-odd {
background-color:red;
background-image: none;
}
.p-datatable.p-datatable-even {
background-color:blue;
background-image: none;
}
Code: Select all
.p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) {
background: #fcfcfc;
}
.p-datatable .p-datatable-tbody > tr {
background: #ffffff;
}
Users browsing this forum: No registered users and 23 guests