0

Unable to get group icon in grid columns menu

asked 2014-07-19 15:35:48 +0800

Ashutosh gravatar image Ashutosh
1

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.

delete flag offensive retag edit

Comments

Please provide a code snippet to explain what you are trying to do.

cyiannoulis ( 2014-07-19 20:22:06 +0800 )edit

group only available for ZK PE/EE version.

vincentjian ( 2014-07-21 03:33:49 +0800 )edit

As vincent says automatic grouping is available only in PE and EE editions.

cyiannoulis ( 2014-07-21 06:51:26 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-07-21 05:57:24 +0800

Ashutosh gravatar image Ashutosh
1

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.

link publish delete flag offensive edit
Your answer
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-07-19 15:35:48 +0800

Seen: 11 times

Last updated: Jul 21 '14

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