Added empty cell renderer to criterion to include the cost category
FEA: ItEr77S17AutomaticBudgeting
This commit is contained in:
parent
e5450066de
commit
4408f965d1
2 changed files with 8 additions and 1 deletions
|
|
@ -179,6 +179,11 @@ public class CriterionTreeController extends GenericForwardComposer {
|
||||||
tr.setDraggable("true");
|
tr.setDraggable("true");
|
||||||
tr.setDroppable("true");
|
tr.setDroppable("true");
|
||||||
|
|
||||||
|
// Treecell with the code of the Criterion
|
||||||
|
Treecell cellForCostCategory = new Treecell();
|
||||||
|
Textbox costCategoryLabel = new Textbox("Cost category combo");
|
||||||
|
cellForCostCategory.appendChild(costCategoryLabel);
|
||||||
|
|
||||||
// Treecell with the code of the Criterion
|
// Treecell with the code of the Criterion
|
||||||
Treecell cellForCode = new Treecell();
|
Treecell cellForCode = new Treecell();
|
||||||
cellForCode.setStyle("center");
|
cellForCode.setStyle("center");
|
||||||
|
|
@ -200,6 +205,7 @@ public class CriterionTreeController extends GenericForwardComposer {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
cellForName.setParent(tr);
|
cellForName.setParent(tr);
|
||||||
|
cellForCostCategory.setParent(tr);
|
||||||
cellForCode.setParent(tr);
|
cellForCode.setParent(tr);
|
||||||
cellForActive.setParent(tr);
|
cellForActive.setParent(tr);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,8 @@
|
||||||
sclass="orderTree" fixedLayout="true" mold="paging">
|
sclass="orderTree" fixedLayout="true" mold="paging">
|
||||||
<treecols sizable="true">
|
<treecols sizable="true">
|
||||||
<treecol label="${i18n:_('Name')}" />
|
<treecol label="${i18n:_('Name')}" />
|
||||||
<treecol width="250px" label="${i18n:_('Code')}" />
|
<treecol width="200px" label="${i18n:_('Cost category')}" />
|
||||||
|
<treecol width="200px" label="${i18n:_('Code')}" />
|
||||||
<treecol width="60px" align="center" label="${i18n:_('Active')}" />
|
<treecol width="60px" align="center" label="${i18n:_('Active')}" />
|
||||||
<treecol width="150px" align="center" label="${i18n:_('Operations')}" />
|
<treecol width="150px" align="center" label="${i18n:_('Operations')}" />
|
||||||
</treecols>
|
</treecols>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue