Doplněn do položek požadavků textový popisek.

closes #135
This commit is contained in:
2014-09-10 12:53:23 +02:00
parent 74586f9820
commit ff053f7fb2
3 changed files with 35 additions and 11 deletions
@@ -31,8 +31,9 @@ RequirementsGridMyCentres=Má střediska
RequirementsGridMyWorkgroups=Mé komise
RequirementsGridAll=Vše
RequirementItemCode=Kód
RequirementItemName=Text
RequirementItemCode=Kód skupiny
RequirementItemName=Název skupiny
RequirementItemText=Text položky
RequirementItemQuantity=Množství
RequirementItemMUnit=MJ
RequirementItemUnitPrice=Jedn. cena
@@ -93,30 +93,33 @@
selectedIndex="@bind(vm.selItemIndex)">
<listhead>
<listheader
hflex="1"
hflex="10"
label="${labels.RequirementItemCode}" />
<listheader
hflex="3"
hflex="15"
label="${labels.RequirementItemName}" />
<listheader
hflex="1"
hflex="30"
label="${labels.RequirementItemText}" />
<listheader
hflex="10"
align="right"
label="${labels.RequirementItemQuantity}" />
<listheader
hflex="1"
hflex="10"
label="${labels.RequirementItemMUnit}" />
<listheader
hflex="1"
hflex="10"
align="right"
label="${labels.RequirementItemUnitPrice}" />
<listheader
hflex="1"
hflex="10"
align="right"
label="${labels.RequirementItemTotal}" />
<listheader
hflex="3"
hflex="15"
label="${labels.RequirementItemDescription}" />
<listheader hflex="1" />
<listheader hflex="10" />
</listhead>
<template name="model">
<listitem>
@@ -135,6 +138,13 @@
onFocus="@command('onFocusItem', item=each, ctrl=self)"
value="@bind(each.name)" />
</listcell>
<listcell>
<textbox
inplace="true"
sclass="grid-textbox-max"
onFocus="@command('onFocusItem', item=each, ctrl=self)"
value="@bind(each.textItem)" />
</listcell>
<listcell>
<textbox
inplace="true"