0

Listbox & ListGroup with groupname and other value

asked 2014-11-12 02:39:12 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8
http://zkframeworkhint.bl...

updated 2014-11-12 05:22:21 +0800

I am using Listbox/Listgroup to display list of record but here is my requirement little bit change i want Listgroup like below image

Listbox

Is this possible ? If yes what approach i have to follow right now i am using below code

 <listbox hflex="1" emptyMessage="@load(vm.getText('LABEL_NOROWS'))" checkmark="true" multiple="true"
                            model="@load(vm.billedFeeGroupModel)" width="100%">

                            <listhead sizable="false" width="100%">
                                <listheader />
  <listheader label="@load(vm.getText('AccountBillFeeDetail:FIELD_FEECODE'))" />
  <listheader label="@load(vm.getText('AccountBillFeeDetail:FIELD_FEEDESC'))" />
  <listheader label="@load(vm.getText('AccountBillFeeDetail:FIELD_FEECOMMENT'))" />
  <listheader label="@load(vm.getText('AccountBillFeeDetail:FIELD_FEEAMOUNT'))" />
  <listheader label="@load(vm.getText('AccountBillFeeDetail:FIELD_DUEAMOUNT'))" />
  <listheader label="@load(vm.getText('AccountBillFeeDetail:FIELD_PAIDAMOUNT'))" />
  <listheader label="@load(vm.getText('AccountBillFeeDetail:FIELD_PAID'))" />
  </listhead>
   <template name="model:group">
    <listgroup label="@load(each)" />
    </template>

    <template name="model" var="accountBillFeeData">
        <listitem width="100%">
        <listcell></listcell>
    <listcell>
    <label value="@bind(accountBillFeeData.accountBillFee.feeCode)" />
    </listcell>
    <listcell>
    <label value="@bind(accountBillFeeData.feeDesc)" />
    </listcell>
    <listcell>
    <label value="@bind(accountBillFeeData.accountBillFee.feeComment)" />
    </listcell>
    <listcell>
    <label value="@bind(accountBillFeeData.accountBillFee.feeAmount)" />
    </listcell>
    <listcell>
    <label value="@bind(accountBillFeeData.accountBillFee.feeLeft)" />
    </listcell>
    <listcell>
   <label value="@bind(accountBillFeeData.accountBillFee.feeLeft)" />
    </listcell>
    <listcell>
    <label value="@bind(accountBillFeeData.paidInFullFlag)" />
    </listcell>
    </listitem>
    </template>
      </listbox>
delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-11-12 02:39:12 +0800

Seen: 10 times

Last updated: Nov 12 '14

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