Grid group row expand/collapse control not showing in IE
30 Nov 2011 15:01:27 GMT
1 Dec 2011 00:57:17 GMT
1 Dec 2011 00:57:17 GMT
Hi,
I have tested following zul with ZK 3.6.4 under IE 6,7, and I click the title, the grid expand / collapse normally.
<grid id="myGrid"> <rows> <group>Test</group> <row>1</row> <row>2</row> </rows> </grid>
6 Feb 2012 18:36:26 GMT
6 Feb 2012 18:36:26 GMT
I am having this problem too (in all browsers), I'm building programatically like this
public class FacturasModelArray extends GroupsModelArray {
public FacturasModelArray(List<FacturaPagoDetDto> list) {
super(list.toArray(), new FieldComparator("keyCode", true));
}
@Override
protected Object createGroupHead(Object[] groupdata, int index, int col) {
return new Object[]{groupdata[0], new Integer(col)};
}
}
//Then in the renderer:
if (row instanceof Group) {
Object[] data = (Object[]) obj; //prepared by FacturasModelArray.createGroupHead
FacturaPagoDto fact = ((FacturaPagoDetDto) data[0]).getFacturaPago();
row.appendChild(new Label(fact.getStDesc()));
}
It is successfully grouping data, but it doesn't show the collapse control. Any ideas why is this happening? I'm using zk 5
17 Feb 2012 06:54:26 GMT
17 Feb 2012 06:54:26 GMT
Hi,
what is your IE's version?
17 Feb 2012 16:18:49 GMT
17 Feb 2012 16:18:49 GMT
It's IE8, but this is happening also in Firefox and Chrome
ZK - Open Source Ajax Java Framework
Hello,
I'm trying to use Group type rows in a grid in ZK 3.6.4 and I'm having problems with it in IE. The expand/collapse control (the little arrow icon) does not display in IE and therefore the groups cannot be expanded. This works fine in FireFox. My actual code is a bit more complicated as I'm setting up the grid programatically and using a row renderer, however I also have this problem when using this simple example.
<grid id="myGrid"> <rows> <group>Test</group> </rows> </grid>Thanks in advance.