Hello,
I want to ask you about aggregation style. In my project I have GroupTable and I am using funcion “SetStyleProvider” like this:
goalsTable.setStyleProvider(new GroupTable.GroupStyleProvider<>(){
@SuppressWarnings("unchecked")
@Override
public String getStyleName(GroupInfo info) {
Object value = info.getPropertyValue(info.getProperty());
if (value instanceof MprGoalGroupEnum) {
return "ig-goal";
}
return null;
}
@Override
public String getStyleName(MprGoal mprGoal, @Nullable String property) {
return null;
}
});
Through this, I am able to change style for each group row for my current screen and that works fine. Now I am thinking if there is any way to change aggregation row and its style. I can add lines into scss file like this and aggregation row will be different
.v-table-arow-row {
background: lightgreen;
}
But this will change every aggregation row in our application and I would like to change it only on 1 screen. Is there any way to change it on Controller like for Groups?
Thank you
Pavel