Revision history [back]

click to hide/show revision 1
initial version

asked 2016-01-06 13:12:28 +0800

sathishk gravatar image sathishk

Dynamic groupbox Issue.

Hi,

We are developing dynamic groupbox by using model list, we have getting groupbox header multiple,but when i click on groupbox,then show all groupbox values : please go through below code :

<template name="children" var="each"> <groupbox width="100%" mold="3d" closable="false" open="true">
<h:label class="col-md-3 col-sm-4 col-xs-4 padd_l0">Date of Expense </h:label>
<label class="padd0" value="@load(each.createdDate)"></label>
<template name="children" var="each">
<h:label class="col-md-6 col-xs-6">Employee Code </h:label>
<label value="@load(each.edp_no)"></label>
<h:label class="col-md-6 col-xs-6">Employee Name: </h:label>
<label value="@load(each.empName)"></label>
<h:label class="col-md-6 col-xs-6">Status: </h:label>
<label value="@bind(each.status)"></label>
</template>
</groupbox> </template>

Please Help me.

Dynamic groupbox Issue.

Hi,

We are developing dynamic groupbox by using model list, we have getting groupbox header multiple,but when i click on groupbox,then show all groupbox values : please go through below code :

<template name="children" var="each"> <groupbox width="100%" mold="3d" closable="false" open="true">
<h:label class="col-md-3 col-sm-4 col-xs-4 padd_l0">Date of Expense </h:label>
<label class="padd0" value="@load(each.createdDate)"></label>
<template name="children" var="each">
<h:label class="col-md-6 col-xs-6">Employee Code </h:label>
<label value="@load(each.edp_no)"></label>
<h:label class="col-md-6 col-xs-6">Employee Name: </h:label>
<label value="@load(each.empName)"></label>
<h:label class="col-md-6 col-xs-6">Status: </h:label>
<label value="@bind(each.status)"></label>
</template>
</groupbox> </template>

Please Help me.me!.

Dynamic groupbox Issue.

Hi,

We are developing dynamic groupbox by using model list, we have getting groupbox header multiple,but when i click on groupbox,then show all groupbox values : please go through below code :

<div children="@load(vm.expensesforApprovalProcess)" >
 <template name="children" var="each">
 <groupbox width="100%" mold="3d" closable="false" open="true">
 
<caption sclass="caption_new" onClick="@command('showApprovalRequestDetails',requestID = each.processID)"> <div class="col-md-6 col-sm-6 padd0"> <div class="form-horizontal mrg_top10"> <div class="form-group marg0"> <h:label class="col-md-3 col-sm-4 col-xs-4 padd_l0">Date of Expense </h:label>
<div class="col-md-9 col-sm-8 col-xs-8"> <label class="padd0" value="@load(each.createdDate)"></label>
</a> </div> </div> </div> </div> </caption> <div class="form-horizontal master_group master_group_first mrg_top10" children="@load(vm.expensesforApproval)" > <template name="children" var="each">
<div class="form-group col-md-4"> <h:label class="col-md-6 col-xs-6">Employee Code </h:label>
<div class="col-md-6 col-xs-6"> <label value="@load(each.edp_no)"></label>
</div> </div> <div class="form-group col-md-4"> <h:label class="col-md-6 col-xs-6">Employee Name: </h:label>
<div class="col-md-6 col-xs-6"> <label value="@load(each.empName)"></label>
</div> </div> <div class="form-group col-md-4"> <h:label class="col-md-6 col-xs-6">Status: </h:label>
<div class="col-md-6 col-xs-6"> <label value="@bind(each.status)"></label>
</div> </div> <div class="clearboth"></div> </template>
</div> <div class="clearboth"></div> </groupbox> </template>

Please Help me!.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More