ItEr31S05RFComportamentoGraficoPlanificadorItEr30S05: Highlighted grouped hours row in advanced allocation component
This commit is contained in:
parent
2720cf862b
commit
ddc8029476
2 changed files with 13 additions and 1 deletions
|
|
@ -230,7 +230,6 @@ public class AdvancedAllocationController extends GenericForwardComposer {
|
|||
timeTrackerComponent.afterCompose();
|
||||
table.afterCompose();
|
||||
Clients.evalJavaScript("ADVANCE_ALLOCATIONS.listenToScroll();");
|
||||
System.out.println("Accessing after compose");
|
||||
}
|
||||
|
||||
private void createComponents() {
|
||||
|
|
@ -367,6 +366,7 @@ public class AdvancedAllocationController extends GenericForwardComposer {
|
|||
return row.getFunction();
|
||||
}
|
||||
});
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
@ -616,6 +616,9 @@ class Row {
|
|||
this.messages = messages;
|
||||
this.restriction = restriction;
|
||||
this.name = name;
|
||||
if (level != 0) {
|
||||
this.name = " · " + this.name;
|
||||
}
|
||||
this.level = level;
|
||||
this.aggregate = new AggregateOfResourceAllocations(
|
||||
new ArrayList<ResourceAllocation<?>>(allocations));
|
||||
|
|
@ -674,6 +677,7 @@ class Row {
|
|||
if (isGroupingRow()) {
|
||||
Label label = (Label) component;
|
||||
label.setValue(getHoursForDetailItem(item) + "");
|
||||
label.setClass("calculated-hours");
|
||||
} else {
|
||||
Intbox intbox = (Intbox) component;
|
||||
intbox.setValue(getHoursForDetailItem(item));
|
||||
|
|
|
|||
|
|
@ -498,3 +498,11 @@ div.z-grid {
|
|||
.assignedresources .z-listbox input {
|
||||
height: 17px !important;
|
||||
}
|
||||
|
||||
/* Highlight advancedallocation grouping row */
|
||||
.resourcesload .taskspanelgap .z-grid-body tr:first-child {
|
||||
background-color: #E8E8E8;
|
||||
}
|
||||
.resourcesload .taskspanelgap .z-grid-body tr.z-row td {
|
||||
background-color:transparent;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue