TreeDataGrid custom styling issues

Hi,
I am trying to use the RowStyleProvider for a TreeDataGrid component, but It seems not to be working for some reason.
In the custom theme, I have inserted the following code:

.v-grid-row.silver > td {
background-color: #f2f2f2;
color: black;
}

and I have also created the following method in the relevant page:

@Install(to = “foldersDataGrid”, subject = “rowStyleProvider”)
private String styledGridRowStyleProvider(Folder folder) {
return “silver”;
}

When I try the same approach in the DataGrid component, It works properly. What am I missing?

Thanks,
George

Hi,

The ThreeDataGrid rows have v-treegrid-row css class name instead of v-grid-row.

Regards,
Gleb

Thank you.

Regards,
George