Possible bug in Grid with Frozen + Footer + horizontal scrolling

asked 2010-11-24 06:46:09 +0800

andreasboos gravatar image andreasboos
105 3


I tried using the Grid component enabling the option Frozen together with the horizontal scroll Footer and the Footer does not track the movement of columns in the grid so that some information is missing.

Once disabling the Frozen (tag <frozen> commented), everything works correctly. This is a bug or that I did something wrong?

Here's an example to reproduce the problem.

.z-label, .z-radio {
tr.z-row td.z-row-inner {
padding: 2px 5px;
.z-row-cnt, .z-column-cnt {
text-align: center;
.category-center .z-auxheader-cnt {
text-align: center;
.footer_right {
.footer_right_black {
background-color: #000000;
<grid id="demoGrid" width="700px">
<auxhead sclass="category-center">
<auxheader label="Healthy Food List" colspan="6" rowspan="1" />
<auxhead sclass="category-center">
<auxheader label="Category Select" colspan="1" rowspan="1" />
<auxheader colspan="5" rowspan="1">
<attribute name="onCheck"><![CDATA[
String selected = self.getSelectedItem().getLabel();
if (selected.equals("All Food")) {
demoGrid.setModel(new ListModelList(FoodData.getAllFoods()));
} else {
demoGrid.setModel(new ListModelList(FoodData.getFoodsByCategory(selected)));
footer_category.setLabel("A Total of " + demoGrid.getRows().getChildren().size() + " Food Items");
<radio label="All Food" checked="true" width="100px" />
<radio label="Vegetables" width="100px" />
<radio label="Seafood" width="100px" />
<radio label="Fruits" width="100px" />
<radio label="Poultry & Lean Meats" width="100px" />
<frozen style="background: #DFDED8" columns="1">
<div style="padding: 0 10px;" />
<column width="150px">Category</column>
<column width="150px">Name</column>
<column width="150px">Top Nutrients</column>
<column width="150px">% of Daily</column>
<column width="150px">Calories</column>
<column width="150px">Quantity</column>
<footer id="footer_category" class="footer_right_black" />
<footer id="footer_name" class="footer_right" />
<footer id="footer_top_nutrients" class="footer_right_black" />
<footer id="footer_percent_daily" class="footer_right" />
<footer id="footer_calories" class="footer_right_black" />
<footer id="footer_quantity" class="footer_right" />
footer_category.setLabel("A Total of 1 Food Items");
footer_quantity.setLabel("Qty 1");

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-11-24 06:48:51 +0800

andreasboos gravatar image andreasboos
105 3

updated 2010-11-24 06:49:17 +0800

Sorry, forgot to comment on the versions:
ZK 5.0.5 EE
Firefox 3.6.12
opera 10.63
IE 8.0.6001.18702

link publish delete flag offensive edit

answered 2010-11-25 03:24:57 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Please post to bug-list.

link publish delete flag offensive edit

answered 2010-11-25 05:01:47 +0800

andreasboos gravatar image andreasboos
105 3


I added the bug-list.

Bug ID 3118324

Thank you.

link publish delete flag offensive edit
Your reply
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




Asked: 2010-11-24 06:46:09 +0800

Seen: 455 times

Last updated: Nov 25 '10

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