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

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


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'))" />
   <template name="model:group">
    <listgroup label="@load(each)" />

    <template name="model" var="accountBillFeeData">
        <listitem width="100%">
    <label value="@bind(accountBillFeeData.accountBillFee.feeCode)" />
    <label value="@bind(accountBillFeeData.feeDesc)" />
    <label value="@bind(accountBillFeeData.accountBillFee.feeComment)" />
    <label value="@bind(accountBillFeeData.accountBillFee.feeAmount)" />
    <label value="@bind(accountBillFeeData.accountBillFee.feeLeft)" />
   <label value="@bind(accountBillFeeData.accountBillFee.feeLeft)" />
    <label value="@bind(accountBillFeeData.paidInFullFlag)" />
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

1 follower



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