-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I am using grid to show employee forms.
I want group function on employee name.
I apply menupopup attribute to columns tag.
But i am not getting group link in menu.
I am using ZK 6.5.4 CE
Please help.
Thanks in advance.
This is my code in zul file
<grid id="grid" model="@load(vm.formList)" sizedByContent="true" span="true">
<columns sizable="true" menupopup="auto">
<column label="Sr. No."></column>
<column label="Employee Name" sort="auto(empName)"></column>
<column label="Designation" sort="auto(employee.designation)"></column>
<column label="Status" sort="auto(statusName)"></column>
<column label="SubStatus" sort="auto(subStatusName)"></column>
<column label="Valid From"></column>
<column label="Valid To"></column>
</columns>
<template name="model" status="s">
<row>
<label value="@load(s.index+1)"></label>
<label value="@load(each.empName)"></label>
<label value="@load(each.employee.designation)"></label>
<label value="@load(each.statusName)"></label>
<label value="@bind(each.subStatusName)"></label>
<label value="${c:formatDate(each.startDate,'dd MMM yyyy') }"></label>
<label value="${c:formatDate(each.endDate,'dd MMM yyyy') }"></label>
</row>
</template>
</grid>
and in java i have method to get list. I set the attribute menupopup="auto" to get default menu for each column. In that menu i am not getting group menu.
Asked: 2014-07-19 15:35:48 +0800
Seen: 11 times
Last updated: Jul 21 '14
Please provide a code snippet to explain what you are trying to do.
cyiannoulis ( 2014-07-19 20:22:06 +0800 )editgroup only available for ZK PE/EE version.
vincentjian ( 2014-07-21 03:33:49 +0800 )editAs vincent says automatic grouping is available only in PE and EE editions.
cyiannoulis ( 2014-07-21 06:51:26 +0800 )edit