Revision history [back]

click to hide/show revision 1
initial version

asked 2020-03-13 15:45:00 +0800

softteam gravatar image softteam

Problem with listbox and frozen columns when auxheader methods are called Version 7.0.5-FL

We are trying to use frozen columns in a listbox, but when we call the methods annotated in a combobox or in a textbox that are inside an auxheader, the colums get wider and we don't know why. We are using ZK 7.0.5-FL. The code is like this:

<listbox id="LBDetalleIndices" sizedbycontent="true" vflex="1" mold="paging" autopaging="true" width="100%" height="100%" span="26" multiple="true" checkmark="true" model="@load(vm.beans)" &gt;="" <listhead="" sizable="true"> <listheader id="LHIndiceSel" tooltiptext="_Indices seleccionados"/> <listheader id="LHFicheroDetalle" label="_Fichero" tooltiptext="_Fichero" sort="auto(fichero)" width="200px"/> <listheader id="LHIndice" label="_Índice" tooltiptext="_Indice, diccionario del fichero" sort="auto(indice)" width="65px"/> <listheader id="LHTipo" label="_Tipo" tooltiptext="" sort="auto(tipo)" style="text-align: center;" width="55px"/> <listheader id="LHReconsDetalle" label="_Recons" tooltiptext="_Es necesario reconstruir el índice" sort="auto(reconsDetalle)" style="text-align: center" width="65px"/> <listheader id="LHNulos" label="_Nulos" tooltiptext="" sort="auto(nulos)" style="text-align: center" width="65px"/> <listheader id="LHAutoAct" label="_Auto actualiz" tooltiptext="_Actualización automática" sort="auto(autoAct)" style="text-align: center" width="85px"/> <listheader id="LHDescripDic" label="_Des dic" tooltiptext="_Descripción del diccionario" sort="auto(descripcionDiccionario)" width="230px"/> <listheader id="LHRuta" label="_Ruta fichero" tooltiptext="_Ruta del fichero" sort="auto(ruta)" width="425px"/> <listheader id="LHActPendientes" label="_Act pend" tooltiptext="_Actualizaciones pendientes" sort="auto(actPendientes)" style="text-align: center" width="70px"/> <listheader id="LHJustificacion" label="_Just" tooltiptext="_Justificación" sort="auto(justificacion)" style="text-align: center" width="55px"/> <listheader id="LHUnico" label="_Único" tooltiptext="_Único" sort="auto(unico)" style="text-align: center" width="55px"/> <listheader id="LHNumeroParte" label="_Num parte" tooltiptext="_Num parte" sort="auto(numeroParte)" width="55px"/> <listheader id="LHIndicesConstruccion" label="_Construccion" tooltiptext="_Indices necesitan construcción" sort="auto(indicesConstruccion)" style="text-align: center" width="70px"/> <listheader id="LHTextoNoIndexado" label="_no indexado" tooltiptext="_Texto no indexado" sort="auto(textoNoIndexado)" width="62px"/> <listheader id="LHActHabilitada" label="_Actualización" tooltiptext="_ Actualización habilitada" sort="auto(actHabilitada)" style="text-align: center" width="80px"/> <listheader id="LHRutaIndice" label="_Ruta índice" tooltiptext="_Ruta del índice" sort="auto(rutaIndice)" width="55px"/> <listheader id="LHActPendientesPartNumbers" label="_Act Pend" tooltiptext="_Actualizaciones pendientes" sort="auto(actPendientesPartNumbers)" style="text-align: center" width="70px"/> <listheader id="LHJustificacionPartNumbers" label="_Just" tooltiptext="_Justificacion" sort="auto(justificacionPartNumbers)" width="55px"/> <listheader id="LHUnicoPartNumbers" label="_Único" tooltiptext="_Único" sort="auto(unicoPartNumbers)" width="65px"/> <listheader id="LHNombreIntercalado" label="_Nom Inter" tooltiptext="_Nombre intercalado" sort="auto(nombreIntercalado)" style="text-align: center" width="105px"/> <listheader id="LHLocalizacion" label="_Local" tooltiptext="_Localización" sort="auto(localizacion)" width="80px"/> <listheader id="LHCampoMultivalorado" label="_MV" tooltiptext="_Campo multivalorado" sort="auto(campoMultivalorado)" style="text-align: center" width="55px"/> <listheader id="LHIncidencias" label="_Incidencias" tooltiptext="_" sort="auto(incidencias)" width="230px"/> <listheader id="LHRDICT" label="_R.DICT 25" tooltiptext="_" sort="auto(rDict)" width="120px"/> <listheader id="LHObservacionesDetalle" label="_Observaciones" tooltiptext="_Observaciones" sort="auto(observaciones)"/> </listhead>

<auxhead id ="AHFiltrosDetalle" visible="@load(vm.visualizarFiltrosDetalle)">
    <auxheader>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroFicheroDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroIndiceDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroTipoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelTipoDetalle)" selectedItem="@bind(vm.modelTipoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroReconsDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelReconsDetalle)" selectedItem="@bind(vm.modelReconsDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroNulosDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelNulosDetalle)" selectedItem="@bind(vm.modelNulosDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroAutoActuDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelAutoActuDetalle)" selectedItem="@bind(vm.modelAutoActuDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroDescripcionDiccionario)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroRutaDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuPendienteDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuPendienteDetalle)" selectedItem="@bind(vm.modelActuPendienteSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroJustificacionDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelJustificacionDetalle)" selectedItem="@bind(vm.modelJustificacionDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroUnicoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelUnicoDetalle)" selectedItem="@bind(vm.modelUnicoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroNumeroParteDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroIndicesConstruccionDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroTextoNoIndexadoDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuHabDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuHabDetalle)" selectedItem="@bind(vm.modelActuHabDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroRutaIndiceDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuPendiente2Detalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuPendiente2Detalle)" selectedItem="@bind(vm.modelActuPendiente2DetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroJustificacionPartNumbersDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroUnicoPartNumbersDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroNombreIntercaladoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelNombreIntercaladoDetalle)" selectedItem="@bind(vm.modelNombreIntercaladoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroLocalizacionDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroMultivaloradoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelMultivaloradoDetalle)" selectedItem="@bind(vm.modelMultivaloradoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroIncidencias" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelIncidencias)" selectedItem="@bind(vm.modelIncidenciasSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroRDICTDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelRDICTDetalle)" selectedItem="@bind(vm.modelRDICTDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroObservacionesDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>    
</auxhead>

<template name="model" var="item">
    <listitem onClick="@command('SeleccionaFila',target=event.getTarget(), TBTDesmarcarTodo=TBTDesmarcarTodoDetalle)">
        <listcell></listcell> 
        <listcell label="@load(item.fichero)" tooltiptext="@load(item.fichero)"/> 
        <listcell label="@load(item.indice)" tooltiptext="@load(item.indice)" />
        <listcell label="@load(item.tipo)" tooltiptext="@load(item.tipo)" style="text-align: center"/> 
        <listcell label="@load(item.reconsDetalle)" tooltiptext="@load(item.reconsDetalle)" style="@load(item.estiloRecons)"/>
        <listcell label="@load(item.nulos)" tooltiptext="@load(item.nulos)"  style="text-align: center" />
        <listcell label="@load(item.autoAct)" tooltiptext="@load(item.autoAct)" style="text-align: center"/>
        <listcell label="@load(item.descripcionDiccionario)" tooltiptext="@load(item.descripcionDiccionario)"/>
        <listcell label="@load(item.ruta)" tooltiptext="@load(item.ruta)"/>
        <listcell label="@load(item.actPendientes)" tooltiptext="@load(item.actPendientes)" style="@load(item.estiloActuPendientes)"/>
        <listcell label="@load(item.justificacion)" tooltiptext="@load(item.justificacion)" style="text-align: center"/>
        <listcell label="@load(item.unico)" tooltiptext="@load(item.unico)" style="text-align: center"/>
        <listcell label="@load(item.numeroParte)" tooltiptext="@load(item.numeroParte)"/>
        <listcell label="@load(item.indicesConstruccion)" tooltiptext="@load(item.indicesConstruccion)" style="@load(item.estiloRecons2)"/>
        <listcell label="@load(item.textoNoIndexado)" tooltiptext="@load(item.textoNoIndexado)"/>
        <listcell label="@load(item.actHabilitada)" tooltiptext="@load(item.actHabilitada)" style="text-align: center"/>
        <listcell label="@load(item.rutaIndice)" tooltiptext="@load(item.rutaIndice)"/>
        <listcell label="@load(item.actPendientesPartNumbers)" tooltiptext="@load(item.actPendientesPartNumbers)" style="@load(item.estiloActuPendientes2)"/>
        <listcell label="@load(item.justificacionPartNumbers)" tooltiptext="@load(item.justificacionPartNumbers)"/>
        <listcell label="@load(item.unicoPartNumbers)" tooltiptext="@load(item.unicoPartNumbers)"/>
        <listcell label="@load(item.nombreIntercalado)" tooltiptext="@load(item.nombreIntercalado)" style="text-align: center"/>
        <listcell label="@load(item.localizacion)" tooltiptext="@load(item.localizacion)" style="text-align: right" />
        <listcell label="@load(item.campoMultivalorado)" tooltiptext="@load(item.campoMultivalorado)" style="text-align: center"/>
        <listcell label="@load(item.incidencias)" tooltiptext="@load(item.incidencias)"/>
        <listcell label="@load(item.rDict)" tooltiptext="@load(item.rDict)" />
        <listcell label="@load(item.observaciones)" tooltiptext="@load(item.observaciones)" style="color: red;"/>
    </listitem>
</template>
<frozen columns="3"></frozen>

</listbox>

Thank you,

Javier

Problem with listbox and frozen columns when auxheader methods are called Version 7.0.5-FL

We are trying to use frozen columns in a listbox, but when we call the methods annotated in a combobox or in a textbox that are inside an auxheader, the colums get wider and we don't know why. We are using ZK 7.0.5-FL. The code is like this:

<listhead sizable="true">
    <listheader id="LHIndiceSel"   tooltiptext = "_Indices seleccionados"/>
    <listheader id="LHFicheroDetalle" label="_Fichero"  tooltiptext ="_Fichero" sort="auto(fichero)" width="200px"/>
    <listheader id="LHIndice" label="_Índice" tooltiptext ="_Indice, diccionario del fichero" sort="auto(indice)" width="65px"/>
    <listheader id="LHTipo" label="_Tipo" tooltiptext ="" sort="auto(tipo)" style="text-align: center;" width="55px"/>
    <listheader id="LHReconsDetalle" label="_Recons" tooltiptext = "_Es necesario reconstruir el índice" sort="auto(reconsDetalle)" style="text-align: center" width="65px"/>
    <listheader id="LHNulos" label="_Nulos" tooltiptext ="" sort="auto(nulos)" style="text-align: center" width="65px"/>
    <listheader id="LHAutoAct" label="_Auto actualiz" tooltiptext ="_Actualización automática" sort="auto(autoAct)" style="text-align: center" width="85px"/>
    <listheader id="LHDescripDic" label="_Des dic"  tooltiptext ="_Descripción del diccionario" sort="auto(descripcionDiccionario)" width="230px"/>
    <listheader id="LHRuta" label="_Ruta fichero"  tooltiptext ="_Ruta del fichero" sort="auto(ruta)" width="425px"/>
    <listheader id="LHActPendientes" label="_Act pend"  tooltiptext ="_Actualizaciones pendientes" sort="auto(actPendientes)" style="text-align: center" width="70px"/>
    <listheader id="LHJustificacion" label="_Just"  tooltiptext ="_Justificación" sort="auto(justificacion)" style="text-align: center" width="55px"/>
    <listheader id="LHUnico" label="_Único"  tooltiptext ="_Único" sort="auto(unico)" style="text-align: center" width="55px"/>
    <listheader id="LHNumeroParte" label="_Num parte"  tooltiptext ="_Num parte" sort="auto(numeroParte)" width="55px"/>
    <listheader id="LHIndicesConstruccion" label="_Construccion"  tooltiptext ="_Indices necesitan construcción" sort="auto(indicesConstruccion)" style="text-align: center" width="70px"/>
    <listheader id="LHTextoNoIndexado" label="_no indexado"  tooltiptext ="_Texto no indexado" sort="auto(textoNoIndexado)" width="62px"/>
    <listheader id="LHActHabilitada" label="_Actualización"  tooltiptext ="_ Actualización habilitada" sort="auto(actHabilitada)" style="text-align: center" width="80px"/>
    <listheader id="LHRutaIndice" label="_Ruta índice"  tooltiptext ="_Ruta del índice" sort="auto(rutaIndice)" width="55px"/>
    <listheader id="LHActPendientesPartNumbers" label="_Act Pend"  tooltiptext ="_Actualizaciones pendientes" sort="auto(actPendientesPartNumbers)" style="text-align: center" width="70px"/>
    <listheader id="LHJustificacionPartNumbers" label="_Just"  tooltiptext ="_Justificacion" sort="auto(justificacionPartNumbers)" width="55px"/>
    <listheader id="LHUnicoPartNumbers" label="_Único"  tooltiptext ="_Único" sort="auto(unicoPartNumbers)" width="65px"/>
    <listheader id="LHNombreIntercalado" label="_Nom Inter"  tooltiptext ="_Nombre intercalado" sort="auto(nombreIntercalado)"  style="text-align: center" width="105px"/>
    <listheader id="LHLocalizacion" label="_Local"  tooltiptext ="_Localización" sort="auto(localizacion)" width="80px"/>
    <listheader id="LHCampoMultivalorado" label="_MV"  tooltiptext ="_Campo multivalorado" sort="auto(campoMultivalorado)"  style="text-align: center" width="55px"/>
    <listheader id="LHIncidencias" label="_Incidencias"  tooltiptext ="_" sort="auto(incidencias)" width="230px"/>
    <listheader id="LHRDICT" label="_R.DICT 25"  tooltiptext ="_" sort="auto(rDict)" width="120px"/>
    <listheader id="LHObservacionesDetalle" label="_Observaciones"  tooltiptext ="_Observaciones" sort="auto(observaciones)"/>
</listhead>

<auxhead id ="AHFiltrosDetalle" visible="@load(vm.visualizarFiltrosDetalle)">
    <auxheader>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroFicheroDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroIndiceDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroTipoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelTipoDetalle)" selectedItem="@bind(vm.modelTipoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroReconsDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelReconsDetalle)" selectedItem="@bind(vm.modelReconsDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroNulosDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelNulosDetalle)" selectedItem="@bind(vm.modelNulosDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroAutoActuDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelAutoActuDetalle)" selectedItem="@bind(vm.modelAutoActuDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroDescripcionDiccionario)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroRutaDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuPendienteDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuPendienteDetalle)" selectedItem="@bind(vm.modelActuPendienteSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroJustificacionDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelJustificacionDetalle)" selectedItem="@bind(vm.modelJustificacionDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroUnicoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelUnicoDetalle)" selectedItem="@bind(vm.modelUnicoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroNumeroParteDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroIndicesConstruccionDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroTextoNoIndexadoDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuHabDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuHabDetalle)" selectedItem="@bind(vm.modelActuHabDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroRutaIndiceDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuPendiente2Detalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuPendiente2Detalle)" selectedItem="@bind(vm.modelActuPendiente2DetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroJustificacionPartNumbersDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroUnicoPartNumbersDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroNombreIntercaladoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelNombreIntercaladoDetalle)" selectedItem="@bind(vm.modelNombreIntercaladoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroLocalizacionDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroMultivaloradoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelMultivaloradoDetalle)" selectedItem="@bind(vm.modelMultivaloradoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroIncidencias" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelIncidencias)" selectedItem="@bind(vm.modelIncidenciasSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroRDICTDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelRDICTDetalle)" selectedItem="@bind(vm.modelRDICTDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroObservacionesDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>    
</auxhead>

<template name="model" var="item">
    <listitem onClick="@command('SeleccionaFila',target=event.getTarget(), TBTDesmarcarTodo=TBTDesmarcarTodoDetalle)">
        <listcell></listcell> 
        <listcell label="@load(item.fichero)" tooltiptext="@load(item.fichero)"/> 
        <listcell label="@load(item.indice)" tooltiptext="@load(item.indice)" />
        <listcell label="@load(item.tipo)" tooltiptext="@load(item.tipo)" style="text-align: center"/> 
        <listcell label="@load(item.reconsDetalle)" tooltiptext="@load(item.reconsDetalle)" style="@load(item.estiloRecons)"/>
        <listcell label="@load(item.nulos)" tooltiptext="@load(item.nulos)"  style="text-align: center" />
        <listcell label="@load(item.autoAct)" tooltiptext="@load(item.autoAct)" style="text-align: center"/>
        <listcell label="@load(item.descripcionDiccionario)" tooltiptext="@load(item.descripcionDiccionario)"/>
        <listcell label="@load(item.ruta)" tooltiptext="@load(item.ruta)"/>
        <listcell label="@load(item.actPendientes)" tooltiptext="@load(item.actPendientes)" style="@load(item.estiloActuPendientes)"/>
        <listcell label="@load(item.justificacion)" tooltiptext="@load(item.justificacion)" style="text-align: center"/>
        <listcell label="@load(item.unico)" tooltiptext="@load(item.unico)" style="text-align: center"/>
        <listcell label="@load(item.numeroParte)" tooltiptext="@load(item.numeroParte)"/>
        <listcell label="@load(item.indicesConstruccion)" tooltiptext="@load(item.indicesConstruccion)" style="@load(item.estiloRecons2)"/>
        <listcell label="@load(item.textoNoIndexado)" tooltiptext="@load(item.textoNoIndexado)"/>
        <listcell label="@load(item.actHabilitada)" tooltiptext="@load(item.actHabilitada)" style="text-align: center"/>
        <listcell label="@load(item.rutaIndice)" tooltiptext="@load(item.rutaIndice)"/>
        <listcell label="@load(item.actPendientesPartNumbers)" tooltiptext="@load(item.actPendientesPartNumbers)" style="@load(item.estiloActuPendientes2)"/>
        <listcell label="@load(item.justificacionPartNumbers)" tooltiptext="@load(item.justificacionPartNumbers)"/>
        <listcell label="@load(item.unicoPartNumbers)" tooltiptext="@load(item.unicoPartNumbers)"/>
        <listcell label="@load(item.nombreIntercalado)" tooltiptext="@load(item.nombreIntercalado)" style="text-align: center"/>
        <listcell label="@load(item.localizacion)" tooltiptext="@load(item.localizacion)" style="text-align: right" />
        <listcell label="@load(item.campoMultivalorado)" tooltiptext="@load(item.campoMultivalorado)" style="text-align: center"/>
        <listcell label="@load(item.incidencias)" tooltiptext="@load(item.incidencias)"/>
        <listcell label="@load(item.rDict)" tooltiptext="@load(item.rDict)" />
        <listcell label="@load(item.observaciones)" tooltiptext="@load(item.observaciones)" style="color: red;"/>
    </listitem>
</template>
<frozen columns="3"></frozen>

All of this code is surrounded by:

<listbox id="LBDetalleIndices" sizedbycontent="true" vflex="1" mold="paging" autopaging="true" width="100%" height="100%" span="26" multiple="true" checkmark="true" model="@load(vm.beans)" &gt;="" <listhead="" sizable="true"> <listheader id="LHIndiceSel" tooltiptext="_Indices seleccionados"/> <listheader id="LHFicheroDetalle" label="_Fichero" tooltiptext="_Fichero" sort="auto(fichero)" width="200px"/> <listheader id="LHIndice" label="_Índice" tooltiptext="_Indice, diccionario del fichero" sort="auto(indice)" width="65px"/> <listheader id="LHTipo" label="_Tipo" tooltiptext="" sort="auto(tipo)" style="text-align: center;" width="55px"/> <listheader id="LHReconsDetalle" label="_Recons" tooltiptext="_Es necesario reconstruir el índice" sort="auto(reconsDetalle)" style="text-align: center" width="65px"/> <listheader id="LHNulos" label="_Nulos" tooltiptext="" sort="auto(nulos)" style="text-align: center" width="65px"/> <listheader id="LHAutoAct" label="_Auto actualiz" tooltiptext="_Actualización automática" sort="auto(autoAct)" style="text-align: center" width="85px"/> <listheader id="LHDescripDic" label="_Des dic" tooltiptext="_Descripción del diccionario" sort="auto(descripcionDiccionario)" width="230px"/> <listheader id="LHRuta" label="_Ruta fichero" tooltiptext="_Ruta del fichero" sort="auto(ruta)" width="425px"/> <listheader id="LHActPendientes" label="_Act pend" tooltiptext="_Actualizaciones pendientes" sort="auto(actPendientes)" style="text-align: center" width="70px"/> <listheader id="LHJustificacion" label="_Just" tooltiptext="_Justificación" sort="auto(justificacion)" style="text-align: center" width="55px"/> <listheader id="LHUnico" label="_Único" tooltiptext="_Único" sort="auto(unico)" style="text-align: center" width="55px"/> <listheader id="LHNumeroParte" label="_Num parte" tooltiptext="_Num parte" sort="auto(numeroParte)" width="55px"/> <listheader id="LHIndicesConstruccion" label="_Construccion" tooltiptext="_Indices necesitan construcción" sort="auto(indicesConstruccion)" style="text-align: center" width="70px"/> <listheader id="LHTextoNoIndexado" label="_no indexado" tooltiptext="_Texto no indexado" sort="auto(textoNoIndexado)" width="62px"/> <listheader id="LHActHabilitada" label="_Actualización" tooltiptext="_ Actualización habilitada" sort="auto(actHabilitada)" style="text-align: center" width="80px"/> <listheader id="LHRutaIndice" label="_Ruta índice" tooltiptext="_Ruta del índice" sort="auto(rutaIndice)" width="55px"/> <listheader id="LHActPendientesPartNumbers" label="_Act Pend" tooltiptext="_Actualizaciones pendientes" sort="auto(actPendientesPartNumbers)" style="text-align: center" width="70px"/> <listheader id="LHJustificacionPartNumbers" label="_Just" tooltiptext="_Justificacion" sort="auto(justificacionPartNumbers)" width="55px"/> <listheader id="LHUnicoPartNumbers" label="_Único" tooltiptext="_Único" sort="auto(unicoPartNumbers)" width="65px"/> <listheader id="LHNombreIntercalado" label="_Nom Inter" tooltiptext="_Nombre intercalado" sort="auto(nombreIntercalado)" style="text-align: center" width="105px"/> <listheader id="LHLocalizacion" label="_Local" tooltiptext="_Localización" sort="auto(localizacion)" width="80px"/> <listheader id="LHCampoMultivalorado" label="_MV" tooltiptext="_Campo multivalorado" sort="auto(campoMultivalorado)" style="text-align: center" width="55px"/> <listheader id="LHIncidencias" label="_Incidencias" tooltiptext="_" sort="auto(incidencias)" width="230px"/> <listheader id="LHRDICT" label="_R.DICT 25" tooltiptext="_" sort="auto(rDict)" width="120px"/> <listheader id="LHObservacionesDetalle" label="_Observaciones" tooltiptext="_Observaciones" sort="auto(observaciones)"/> </listhead>&gt;<="" p="">

<auxhead id ="AHFiltrosDetalle" visible="@load(vm.visualizarFiltrosDetalle)">
    <auxheader>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroFicheroDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroIndiceDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroTipoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelTipoDetalle)" selectedItem="@bind(vm.modelTipoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroReconsDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelReconsDetalle)" selectedItem="@bind(vm.modelReconsDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroNulosDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelNulosDetalle)" selectedItem="@bind(vm.modelNulosDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroAutoActuDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelAutoActuDetalle)" selectedItem="@bind(vm.modelAutoActuDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroDescripcionDiccionario)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroRutaDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuPendienteDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuPendienteDetalle)" selectedItem="@bind(vm.modelActuPendienteSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroJustificacionDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelJustificacionDetalle)" selectedItem="@bind(vm.modelJustificacionDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroUnicoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelUnicoDetalle)" selectedItem="@bind(vm.modelUnicoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroNumeroParteDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroIndicesConstruccionDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroTextoNoIndexadoDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuHabDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuHabDetalle)" selectedItem="@bind(vm.modelActuHabDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroRutaIndiceDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuPendiente2Detalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuPendiente2Detalle)" selectedItem="@bind(vm.modelActuPendiente2DetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroJustificacionPartNumbersDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroUnicoPartNumbersDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroNombreIntercaladoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelNombreIntercaladoDetalle)" selectedItem="@bind(vm.modelNombreIntercaladoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroLocalizacionDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroMultivaloradoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelMultivaloradoDetalle)" selectedItem="@bind(vm.modelMultivaloradoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroIncidencias" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelIncidencias)" selectedItem="@bind(vm.modelIncidenciasSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroRDICTDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelRDICTDetalle)" selectedItem="@bind(vm.modelRDICTDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroObservacionesDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>    
</auxhead>

<template name="model" var="item">
    <listitem onClick="@command('SeleccionaFila',target=event.getTarget(), TBTDesmarcarTodo=TBTDesmarcarTodoDetalle)">
        <listcell></listcell> 
        <listcell label="@load(item.fichero)" tooltiptext="@load(item.fichero)"/> 
        <listcell label="@load(item.indice)" tooltiptext="@load(item.indice)" />
        <listcell label="@load(item.tipo)" tooltiptext="@load(item.tipo)" style="text-align: center"/> 
        <listcell label="@load(item.reconsDetalle)" tooltiptext="@load(item.reconsDetalle)" style="@load(item.estiloRecons)"/>
        <listcell label="@load(item.nulos)" tooltiptext="@load(item.nulos)"  style="text-align: center" />
        <listcell label="@load(item.autoAct)" tooltiptext="@load(item.autoAct)" style="text-align: center"/>
        <listcell label="@load(item.descripcionDiccionario)" tooltiptext="@load(item.descripcionDiccionario)"/>
        <listcell label="@load(item.ruta)" tooltiptext="@load(item.ruta)"/>
        <listcell label="@load(item.actPendientes)" tooltiptext="@load(item.actPendientes)" style="@load(item.estiloActuPendientes)"/>
        <listcell label="@load(item.justificacion)" tooltiptext="@load(item.justificacion)" style="text-align: center"/>
        <listcell label="@load(item.unico)" tooltiptext="@load(item.unico)" style="text-align: center"/>
        <listcell label="@load(item.numeroParte)" tooltiptext="@load(item.numeroParte)"/>
        <listcell label="@load(item.indicesConstruccion)" tooltiptext="@load(item.indicesConstruccion)" style="@load(item.estiloRecons2)"/>
        <listcell label="@load(item.textoNoIndexado)" tooltiptext="@load(item.textoNoIndexado)"/>
        <listcell label="@load(item.actHabilitada)" tooltiptext="@load(item.actHabilitada)" style="text-align: center"/>
        <listcell label="@load(item.rutaIndice)" tooltiptext="@load(item.rutaIndice)"/>
        <listcell label="@load(item.actPendientesPartNumbers)" tooltiptext="@load(item.actPendientesPartNumbers)" style="@load(item.estiloActuPendientes2)"/>
        <listcell label="@load(item.justificacionPartNumbers)" tooltiptext="@load(item.justificacionPartNumbers)"/>
        <listcell label="@load(item.unicoPartNumbers)" tooltiptext="@load(item.unicoPartNumbers)"/>
        <listcell label="@load(item.nombreIntercalado)" tooltiptext="@load(item.nombreIntercalado)" style="text-align: center"/>
        <listcell label="@load(item.localizacion)" tooltiptext="@load(item.localizacion)" style="text-align: right" />
        <listcell label="@load(item.campoMultivalorado)" tooltiptext="@load(item.campoMultivalorado)" style="text-align: center"/>
        <listcell label="@load(item.incidencias)" tooltiptext="@load(item.incidencias)"/>
        <listcell label="@load(item.rDict)" tooltiptext="@load(item.rDict)" />
        <listcell label="@load(item.observaciones)" tooltiptext="@load(item.observaciones)" style="color: red;"/>
    </listitem>
</template>
<frozen columns="3"></frozen>

[code]

</listbox>

For some reason it is not shown correctly if I put listbox tags in their proper place.

Thank you,

Javier

Problem with listbox and frozen columns when auxheader methods are called Version 7.0.5-FL

Blockquote

We are trying to use frozen columns in a listbox, but when we call the methods annotated in a combobox or in a textbox that are inside an auxheader, the colums get wider and we don't know why. We are using ZK 7.0.5-FL. The code is like this:

<listhead sizable="true">
    <listheader id="LHIndiceSel"   tooltiptext = "_Indices seleccionados"/>
    <listheader id="LHFicheroDetalle" label="_Fichero"  tooltiptext ="_Fichero" sort="auto(fichero)" width="200px"/>
    <listheader id="LHIndice" label="_Índice" tooltiptext ="_Indice, diccionario del fichero" sort="auto(indice)" width="65px"/>
    <listheader id="LHTipo" label="_Tipo" tooltiptext ="" sort="auto(tipo)" style="text-align: center;" width="55px"/>
    <listheader id="LHReconsDetalle" label="_Recons" tooltiptext = "_Es necesario reconstruir el índice" sort="auto(reconsDetalle)" style="text-align: center" width="65px"/>
    <listheader id="LHNulos" label="_Nulos" tooltiptext ="" sort="auto(nulos)" style="text-align: center" width="65px"/>
    <listheader id="LHAutoAct" label="_Auto actualiz" tooltiptext ="_Actualización automática" sort="auto(autoAct)" style="text-align: center" width="85px"/>
    <listheader id="LHDescripDic" label="_Des dic"  tooltiptext ="_Descripción del diccionario" sort="auto(descripcionDiccionario)" width="230px"/>
    <listheader id="LHRuta" label="_Ruta fichero"  tooltiptext ="_Ruta del fichero" sort="auto(ruta)" width="425px"/>
    <listheader id="LHActPendientes" label="_Act pend"  tooltiptext ="_Actualizaciones pendientes" sort="auto(actPendientes)" style="text-align: center" width="70px"/>
    <listheader id="LHJustificacion" label="_Just"  tooltiptext ="_Justificación" sort="auto(justificacion)" style="text-align: center" width="55px"/>
    <listheader id="LHUnico" label="_Único"  tooltiptext ="_Único" sort="auto(unico)" style="text-align: center" width="55px"/>
    <listheader id="LHNumeroParte" label="_Num parte"  tooltiptext ="_Num parte" sort="auto(numeroParte)" width="55px"/>
    <listheader id="LHIndicesConstruccion" label="_Construccion"  tooltiptext ="_Indices necesitan construcción" sort="auto(indicesConstruccion)" style="text-align: center" width="70px"/>
    <listheader id="LHTextoNoIndexado" label="_no indexado"  tooltiptext ="_Texto no indexado" sort="auto(textoNoIndexado)" width="62px"/>
    <listheader id="LHActHabilitada" label="_Actualización"  tooltiptext ="_ Actualización habilitada" sort="auto(actHabilitada)" style="text-align: center" width="80px"/>
    <listheader id="LHRutaIndice" label="_Ruta índice"  tooltiptext ="_Ruta del índice" sort="auto(rutaIndice)" width="55px"/>
    <listheader id="LHActPendientesPartNumbers" label="_Act Pend"  tooltiptext ="_Actualizaciones pendientes" sort="auto(actPendientesPartNumbers)" style="text-align: center" width="70px"/>
    <listheader id="LHJustificacionPartNumbers" label="_Just"  tooltiptext ="_Justificacion" sort="auto(justificacionPartNumbers)" width="55px"/>
    <listheader id="LHUnicoPartNumbers" label="_Único"  tooltiptext ="_Único" sort="auto(unicoPartNumbers)" width="65px"/>
    <listheader id="LHNombreIntercalado" label="_Nom Inter"  tooltiptext ="_Nombre intercalado" sort="auto(nombreIntercalado)"  style="text-align: center" width="105px"/>
    <listheader id="LHLocalizacion" label="_Local"  tooltiptext ="_Localización" sort="auto(localizacion)" width="80px"/>
    <listheader id="LHCampoMultivalorado" label="_MV"  tooltiptext ="_Campo multivalorado" sort="auto(campoMultivalorado)"  style="text-align: center" width="55px"/>
    <listheader id="LHIncidencias" label="_Incidencias"  tooltiptext ="_" sort="auto(incidencias)" width="230px"/>
    <listheader id="LHRDICT" label="_R.DICT 25"  tooltiptext ="_" sort="auto(rDict)" width="120px"/>
    <listheader id="LHObservacionesDetalle" label="_Observaciones"  tooltiptext ="_Observaciones" sort="auto(observaciones)"/>
</listhead>

<auxhead id ="AHFiltrosDetalle" visible="@load(vm.visualizarFiltrosDetalle)">
    <auxheader>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroFicheroDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroIndiceDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroTipoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelTipoDetalle)" selectedItem="@bind(vm.modelTipoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroReconsDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelReconsDetalle)" selectedItem="@bind(vm.modelReconsDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroNulosDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelNulosDetalle)" selectedItem="@bind(vm.modelNulosDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroAutoActuDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelAutoActuDetalle)" selectedItem="@bind(vm.modelAutoActuDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroDescripcionDiccionario)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroRutaDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuPendienteDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuPendienteDetalle)" selectedItem="@bind(vm.modelActuPendienteSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroJustificacionDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelJustificacionDetalle)" selectedItem="@bind(vm.modelJustificacionDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroUnicoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelUnicoDetalle)" selectedItem="@bind(vm.modelUnicoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroNumeroParteDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroIndicesConstruccionDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroTextoNoIndexadoDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuHabDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuHabDetalle)" selectedItem="@bind(vm.modelActuHabDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroRutaIndiceDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuPendiente2Detalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuPendiente2Detalle)" selectedItem="@bind(vm.modelActuPendiente2DetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroJustificacionPartNumbersDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroUnicoPartNumbersDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroNombreIntercaladoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelNombreIntercaladoDetalle)" selectedItem="@bind(vm.modelNombreIntercaladoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroLocalizacionDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroMultivaloradoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelMultivaloradoDetalle)" selectedItem="@bind(vm.modelMultivaloradoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroIncidencias" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelIncidencias)" selectedItem="@bind(vm.modelIncidenciasSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroRDICTDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelRDICTDetalle)" selectedItem="@bind(vm.modelRDICTDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroObservacionesDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>    
</auxhead>

<template name="model" var="item">
    <listitem onClick="@command('SeleccionaFila',target=event.getTarget(), TBTDesmarcarTodo=TBTDesmarcarTodoDetalle)">
        <listcell></listcell> 
        <listcell label="@load(item.fichero)" tooltiptext="@load(item.fichero)"/> 
        <listcell label="@load(item.indice)" tooltiptext="@load(item.indice)" />
        <listcell label="@load(item.tipo)" tooltiptext="@load(item.tipo)" style="text-align: center"/> 
        <listcell label="@load(item.reconsDetalle)" tooltiptext="@load(item.reconsDetalle)" style="@load(item.estiloRecons)"/>
        <listcell label="@load(item.nulos)" tooltiptext="@load(item.nulos)"  style="text-align: center" />
        <listcell label="@load(item.autoAct)" tooltiptext="@load(item.autoAct)" style="text-align: center"/>
        <listcell label="@load(item.descripcionDiccionario)" tooltiptext="@load(item.descripcionDiccionario)"/>
        <listcell label="@load(item.ruta)" tooltiptext="@load(item.ruta)"/>
        <listcell label="@load(item.actPendientes)" tooltiptext="@load(item.actPendientes)" style="@load(item.estiloActuPendientes)"/>
        <listcell label="@load(item.justificacion)" tooltiptext="@load(item.justificacion)" style="text-align: center"/>
        <listcell label="@load(item.unico)" tooltiptext="@load(item.unico)" style="text-align: center"/>
        <listcell label="@load(item.numeroParte)" tooltiptext="@load(item.numeroParte)"/>
        <listcell label="@load(item.indicesConstruccion)" tooltiptext="@load(item.indicesConstruccion)" style="@load(item.estiloRecons2)"/>
        <listcell label="@load(item.textoNoIndexado)" tooltiptext="@load(item.textoNoIndexado)"/>
        <listcell label="@load(item.actHabilitada)" tooltiptext="@load(item.actHabilitada)" style="text-align: center"/>
        <listcell label="@load(item.rutaIndice)" tooltiptext="@load(item.rutaIndice)"/>
        <listcell label="@load(item.actPendientesPartNumbers)" tooltiptext="@load(item.actPendientesPartNumbers)" style="@load(item.estiloActuPendientes2)"/>
        <listcell label="@load(item.justificacionPartNumbers)" tooltiptext="@load(item.justificacionPartNumbers)"/>
        <listcell label="@load(item.unicoPartNumbers)" tooltiptext="@load(item.unicoPartNumbers)"/>
        <listcell label="@load(item.nombreIntercalado)" tooltiptext="@load(item.nombreIntercalado)" style="text-align: center"/>
        <listcell label="@load(item.localizacion)" tooltiptext="@load(item.localizacion)" style="text-align: right" />
        <listcell label="@load(item.campoMultivalorado)" tooltiptext="@load(item.campoMultivalorado)" style="text-align: center"/>
        <listcell label="@load(item.incidencias)" tooltiptext="@load(item.incidencias)"/>
        <listcell label="@load(item.rDict)" tooltiptext="@load(item.rDict)" />
        <listcell label="@load(item.observaciones)" tooltiptext="@load(item.observaciones)" style="color: red;"/>
    </listitem>
</template>
<frozen columns="3"></frozen>

All of this code is surrounded by:

<listbox id="LBDetalleIndices" sizedbycontent="true" sizedByContent="true" vflex="1"  mold="paging" autopaging="true" width="100%" height="100%" span="26" multiple="true" checkmark="true" model="@load(vm.beans)" &gt;<="" p="">

[code]

</listbox>

> [code] </listbox>

For some reason it is not shown correctly if I put listbox tags in their proper place.

Thank you,

Javier

Problem with listbox and frozen columns when auxheader methods are called Version 7.0.5-FL

Blockquote

We are trying to use frozen columns in a listbox, but when we call the methods annotated in a combobox or in a textbox that are inside an auxheader, the colums get wider and we don't know why. We are using ZK 7.0.5-FL. The code is like this:

<listbox id="LBDetalleIndices" sizedByContent="true" vflex="1"  mold="paging" autopaging="true" width="100%" height="100%" span="26" multiple="true" checkmark="true" model="@load(vm.beans)" >

<listhead sizable="true">
    <listheader id="LHIndiceSel"   tooltiptext = "_Indices seleccionados"/>
    <listheader id="LHFicheroDetalle" label="_Fichero"  tooltiptext ="_Fichero" sort="auto(fichero)" width="200px"/>
    <listheader id="LHIndice" label="_Índice" tooltiptext ="_Indice, diccionario del fichero" sort="auto(indice)" width="65px"/>
    <listheader id="LHTipo" label="_Tipo" tooltiptext ="" sort="auto(tipo)" style="text-align: center;" width="55px"/>
    <listheader id="LHReconsDetalle" label="_Recons" tooltiptext = "_Es necesario reconstruir el índice" sort="auto(reconsDetalle)" style="text-align: center" width="65px"/>
    <listheader id="LHNulos" label="_Nulos" tooltiptext ="" sort="auto(nulos)" style="text-align: center" width="65px"/>
    <listheader id="LHAutoAct" label="_Auto actualiz" tooltiptext ="_Actualización automática" sort="auto(autoAct)" style="text-align: center" width="85px"/>
    <listheader id="LHDescripDic" label="_Des dic"  tooltiptext ="_Descripción del diccionario" sort="auto(descripcionDiccionario)" width="230px"/>
    <listheader id="LHRuta" label="_Ruta fichero"  tooltiptext ="_Ruta del fichero" sort="auto(ruta)" width="425px"/>
    <listheader id="LHActPendientes" label="_Act pend"  tooltiptext ="_Actualizaciones pendientes" sort="auto(actPendientes)" style="text-align: center" width="70px"/>
    <listheader id="LHJustificacion" label="_Just"  tooltiptext ="_Justificación" sort="auto(justificacion)" style="text-align: center" width="55px"/>
    <listheader id="LHUnico" label="_Único"  tooltiptext ="_Único" sort="auto(unico)" style="text-align: center" width="55px"/>
    <listheader id="LHNumeroParte" label="_Num parte"  tooltiptext ="_Num parte" sort="auto(numeroParte)" width="55px"/>
    <listheader id="LHIndicesConstruccion" label="_Construccion"  tooltiptext ="_Indices necesitan construcción" sort="auto(indicesConstruccion)" style="text-align: center" width="70px"/>
    <listheader id="LHTextoNoIndexado" label="_no indexado"  tooltiptext ="_Texto no indexado" sort="auto(textoNoIndexado)" width="62px"/>
    <listheader id="LHActHabilitada" label="_Actualización"  tooltiptext ="_ Actualización habilitada" sort="auto(actHabilitada)" style="text-align: center" width="80px"/>
    <listheader id="LHRutaIndice" label="_Ruta índice"  tooltiptext ="_Ruta del índice" sort="auto(rutaIndice)" width="55px"/>
    <listheader id="LHActPendientesPartNumbers" label="_Act Pend"  tooltiptext ="_Actualizaciones pendientes" sort="auto(actPendientesPartNumbers)" style="text-align: center" width="70px"/>
    <listheader id="LHJustificacionPartNumbers" label="_Just"  tooltiptext ="_Justificacion" sort="auto(justificacionPartNumbers)" width="55px"/>
    <listheader id="LHUnicoPartNumbers" label="_Único"  tooltiptext ="_Único" sort="auto(unicoPartNumbers)" width="65px"/>
    <listheader id="LHNombreIntercalado" label="_Nom Inter"  tooltiptext ="_Nombre intercalado" sort="auto(nombreIntercalado)"  style="text-align: center" width="105px"/>
    <listheader id="LHLocalizacion" label="_Local"  tooltiptext ="_Localización" sort="auto(localizacion)" width="80px"/>
    <listheader id="LHCampoMultivalorado" label="_MV"  tooltiptext ="_Campo multivalorado" sort="auto(campoMultivalorado)"  style="text-align: center" width="55px"/>
    <listheader id="LHIncidencias" label="_Incidencias"  tooltiptext ="_" sort="auto(incidencias)" width="230px"/>
    <listheader id="LHRDICT" label="_R.DICT 25"  tooltiptext ="_" sort="auto(rDict)" width="120px"/>
    <listheader id="LHObservacionesDetalle" label="_Observaciones"  tooltiptext ="_Observaciones" sort="auto(observaciones)"/>
</listhead>

<auxhead id ="AHFiltrosDetalle" visible="@load(vm.visualizarFiltrosDetalle)">
    <auxheader>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroFicheroDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroIndiceDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroTipoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelTipoDetalle)" selectedItem="@bind(vm.modelTipoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroReconsDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelReconsDetalle)" selectedItem="@bind(vm.modelReconsDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroNulosDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelNulosDetalle)" selectedItem="@bind(vm.modelNulosDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroAutoActuDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelAutoActuDetalle)" selectedItem="@bind(vm.modelAutoActuDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroDescripcionDiccionario)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroRutaDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuPendienteDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuPendienteDetalle)" selectedItem="@bind(vm.modelActuPendienteSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroJustificacionDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelJustificacionDetalle)" selectedItem="@bind(vm.modelJustificacionDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroUnicoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelUnicoDetalle)" selectedItem="@bind(vm.modelUnicoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroNumeroParteDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroIndicesConstruccionDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroTextoNoIndexadoDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuHabDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuHabDetalle)" selectedItem="@bind(vm.modelActuHabDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroRutaIndiceDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuPendiente2Detalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuPendiente2Detalle)" selectedItem="@bind(vm.modelActuPendiente2DetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroJustificacionPartNumbersDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroUnicoPartNumbersDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroNombreIntercaladoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelNombreIntercaladoDetalle)" selectedItem="@bind(vm.modelNombreIntercaladoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroLocalizacionDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroMultivaloradoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelMultivaloradoDetalle)" selectedItem="@bind(vm.modelMultivaloradoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroIncidencias" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelIncidencias)" selectedItem="@bind(vm.modelIncidenciasSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroRDICTDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelRDICTDetalle)" selectedItem="@bind(vm.modelRDICTDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroObservacionesDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>    
</auxhead>

<template name="model" var="item">
    <listitem onClick="@command('SeleccionaFila',target=event.getTarget(), TBTDesmarcarTodo=TBTDesmarcarTodoDetalle)">
        <listcell></listcell> 
        <listcell label="@load(item.fichero)" tooltiptext="@load(item.fichero)"/> 
        <listcell label="@load(item.indice)" tooltiptext="@load(item.indice)" />
        <listcell label="@load(item.tipo)" tooltiptext="@load(item.tipo)" style="text-align: center"/> 
        <listcell label="@load(item.reconsDetalle)" tooltiptext="@load(item.reconsDetalle)" style="@load(item.estiloRecons)"/>
        <listcell label="@load(item.nulos)" tooltiptext="@load(item.nulos)"  style="text-align: center" />
        <listcell label="@load(item.autoAct)" tooltiptext="@load(item.autoAct)" style="text-align: center"/>
        <listcell label="@load(item.descripcionDiccionario)" tooltiptext="@load(item.descripcionDiccionario)"/>
        <listcell label="@load(item.ruta)" tooltiptext="@load(item.ruta)"/>
        <listcell label="@load(item.actPendientes)" tooltiptext="@load(item.actPendientes)" style="@load(item.estiloActuPendientes)"/>
        <listcell label="@load(item.justificacion)" tooltiptext="@load(item.justificacion)" style="text-align: center"/>
        <listcell label="@load(item.unico)" tooltiptext="@load(item.unico)" style="text-align: center"/>
        <listcell label="@load(item.numeroParte)" tooltiptext="@load(item.numeroParte)"/>
        <listcell label="@load(item.indicesConstruccion)" tooltiptext="@load(item.indicesConstruccion)" style="@load(item.estiloRecons2)"/>
        <listcell label="@load(item.textoNoIndexado)" tooltiptext="@load(item.textoNoIndexado)"/>
        <listcell label="@load(item.actHabilitada)" tooltiptext="@load(item.actHabilitada)" style="text-align: center"/>
        <listcell label="@load(item.rutaIndice)" tooltiptext="@load(item.rutaIndice)"/>
        <listcell label="@load(item.actPendientesPartNumbers)" tooltiptext="@load(item.actPendientesPartNumbers)" style="@load(item.estiloActuPendientes2)"/>
        <listcell label="@load(item.justificacionPartNumbers)" tooltiptext="@load(item.justificacionPartNumbers)"/>
        <listcell label="@load(item.unicoPartNumbers)" tooltiptext="@load(item.unicoPartNumbers)"/>
        <listcell label="@load(item.nombreIntercalado)" tooltiptext="@load(item.nombreIntercalado)" style="text-align: center"/>
        <listcell label="@load(item.localizacion)" tooltiptext="@load(item.localizacion)" style="text-align: right" />
        <listcell label="@load(item.campoMultivalorado)" tooltiptext="@load(item.campoMultivalorado)" style="text-align: center"/>
        <listcell label="@load(item.incidencias)" tooltiptext="@load(item.incidencias)"/>
        <listcell label="@load(item.rDict)" tooltiptext="@load(item.rDict)" />
        <listcell label="@load(item.observaciones)" tooltiptext="@load(item.observaciones)" style="color: red;"/>
    </listitem>
</template>
<frozen columns="3"></frozen>

All of this code is surrounded by:

<listbox id="LBDetalleIndices" sizedByContent="true" vflex="1"  mold="paging" autopaging="true" width="100%" height="100%" span="26" multiple="true" checkmark="true" model="@load(vm.beans)" >

[code]

</listbox>

For some reason it is not shown correctly if I put listbox tags in their proper place.

Thank you,

Javier

Problem with listbox and frozen columns when auxheader methods are called Version 7.0.5-FL

Blockquote

We are trying to use frozen columns in a listbox, but when we call the methods annotated in a combobox or in a textbox that are inside an auxheader, the colums get wider and we don't know why. We are using ZK 7.0.5-FL. The code is like this:

<listbox id="LBDetalleIndices" sizedByContent="true" vflex="1"  mold="paging" autopaging="true" width="100%" height="100%" span="26" multiple="true" checkmark="true" model="@load(vm.beans)" >

<listhead sizable="true">
    <listheader id="LHIndiceSel"   tooltiptext = "_Indices seleccionados"/>
    <listheader id="LHFicheroDetalle" label="_Fichero"  tooltiptext ="_Fichero" sort="auto(fichero)" width="200px"/>
    <listheader id="LHIndice" label="_Índice" tooltiptext ="_Indice, diccionario del fichero" sort="auto(indice)" width="65px"/>
    <listheader id="LHTipo" label="_Tipo" tooltiptext ="" sort="auto(tipo)" style="text-align: center;" width="55px"/>
    <listheader id="LHReconsDetalle" label="_Recons" tooltiptext = "_Es necesario reconstruir el índice" sort="auto(reconsDetalle)" style="text-align: center" width="65px"/>
    <listheader id="LHNulos" label="_Nulos" tooltiptext ="" sort="auto(nulos)" style="text-align: center" width="65px"/>
    <listheader id="LHAutoAct" label="_Auto actualiz" tooltiptext ="_Actualización automática" sort="auto(autoAct)" style="text-align: center" width="85px"/>
    <listheader id="LHDescripDic" label="_Des dic"  tooltiptext ="_Descripción del diccionario" sort="auto(descripcionDiccionario)" width="230px"/>
    <listheader id="LHRuta" label="_Ruta fichero"  tooltiptext ="_Ruta del fichero" sort="auto(ruta)" width="425px"/>
    <listheader id="LHActPendientes" label="_Act pend"  tooltiptext ="_Actualizaciones pendientes" sort="auto(actPendientes)" style="text-align: center" width="70px"/>
    <listheader id="LHJustificacion" label="_Just"  tooltiptext ="_Justificación" sort="auto(justificacion)" style="text-align: center" width="55px"/>
    <listheader id="LHUnico" label="_Único"  tooltiptext ="_Único" sort="auto(unico)" style="text-align: center" width="55px"/>
    <listheader id="LHNumeroParte" label="_Num parte"  tooltiptext ="_Num parte" sort="auto(numeroParte)" width="55px"/>
    <listheader id="LHIndicesConstruccion" label="_Construccion"  tooltiptext ="_Indices necesitan construcción" sort="auto(indicesConstruccion)" style="text-align: center" width="70px"/>
    <listheader id="LHTextoNoIndexado" label="_no indexado"  tooltiptext ="_Texto no indexado" sort="auto(textoNoIndexado)" width="62px"/>
    <listheader id="LHActHabilitada" label="_Actualización"  tooltiptext ="_ Actualización habilitada" sort="auto(actHabilitada)" style="text-align: center" width="80px"/>
    <listheader id="LHRutaIndice" label="_Ruta índice"  tooltiptext ="_Ruta del índice" sort="auto(rutaIndice)" width="55px"/>
    <listheader id="LHActPendientesPartNumbers" label="_Act Pend"  tooltiptext ="_Actualizaciones pendientes" sort="auto(actPendientesPartNumbers)" style="text-align: center" width="70px"/>
    <listheader id="LHJustificacionPartNumbers" label="_Just"  tooltiptext ="_Justificacion" sort="auto(justificacionPartNumbers)" width="55px"/>
    <listheader id="LHUnicoPartNumbers" label="_Único"  tooltiptext ="_Único" sort="auto(unicoPartNumbers)" width="65px"/>
    <listheader id="LHNombreIntercalado" label="_Nom Inter"  tooltiptext ="_Nombre intercalado" sort="auto(nombreIntercalado)"  style="text-align: center" width="105px"/>
    <listheader id="LHLocalizacion" label="_Local"  tooltiptext ="_Localización" sort="auto(localizacion)" width="80px"/>
    <listheader id="LHCampoMultivalorado" label="_MV"  tooltiptext ="_Campo multivalorado" sort="auto(campoMultivalorado)"  style="text-align: center" width="55px"/>
    <listheader id="LHIncidencias" label="_Incidencias"  tooltiptext ="_" sort="auto(incidencias)" width="230px"/>
    <listheader id="LHRDICT" label="_R.DICT 25"  tooltiptext ="_" sort="auto(rDict)" width="120px"/>
    <listheader id="LHObservacionesDetalle" label="_Observaciones"  tooltiptext ="_Observaciones" sort="auto(observaciones)"/>
</listhead>

<auxhead id ="AHFiltrosDetalle" visible="@load(vm.visualizarFiltrosDetalle)">
    <auxheader>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroFicheroDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroIndiceDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroTipoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelTipoDetalle)" selectedItem="@bind(vm.modelTipoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroReconsDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelReconsDetalle)" selectedItem="@bind(vm.modelReconsDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroNulosDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelNulosDetalle)" selectedItem="@bind(vm.modelNulosDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroAutoActuDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelAutoActuDetalle)" selectedItem="@bind(vm.modelAutoActuDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroDescripcionDiccionario)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroRutaDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuPendienteDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuPendienteDetalle)" selectedItem="@bind(vm.modelActuPendienteSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroJustificacionDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelJustificacionDetalle)" selectedItem="@bind(vm.modelJustificacionDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroUnicoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelUnicoDetalle)" selectedItem="@bind(vm.modelUnicoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroNumeroParteDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroIndicesConstruccionDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroTextoNoIndexadoDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuHabDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuHabDetalle)" selectedItem="@bind(vm.modelActuHabDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroRutaIndiceDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroActuPendiente2Detalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelActuPendiente2Detalle)" selectedItem="@bind(vm.modelActuPendiente2DetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroJustificacionPartNumbersDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroUnicoPartNumbersDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroNombreIntercaladoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelNombreIntercaladoDetalle)" selectedItem="@bind(vm.modelNombreIntercaladoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroLocalizacionDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroMultivaloradoDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelMultivaloradoDetalle)" selectedItem="@bind(vm.modelMultivaloradoDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroIncidencias" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelIncidencias)" selectedItem="@bind(vm.modelIncidenciasSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <combobox id ="CBfiltroRDICTDetalle" onSelect="@command('filtrarDetalle')" mold="default" hflex="1" model="@load(vm.modelRDICTDetalle)" selectedItem="@bind(vm.modelRDICTDetalleSeleccionado)">
            <template name="model" var="item">
                <comboitem label="@load(item) "/>
            </template>
        </combobox>
    </auxheader>
    <auxheader>
        <textbox hflex="true" value="@bind(vm.filtroObservacionesDetalle)" onOK="@command('filtrarDetalle')" onChange="@command('filtrarDetalle')" />
    </auxheader>    
</auxhead>

<template name="model" var="item">
    <listitem onClick="@command('SeleccionaFila',target=event.getTarget(), TBTDesmarcarTodo=TBTDesmarcarTodoDetalle)">
        <listcell></listcell> 
        <listcell label="@load(item.fichero)" tooltiptext="@load(item.fichero)"/> 
        <listcell label="@load(item.indice)" tooltiptext="@load(item.indice)" />
        <listcell label="@load(item.tipo)" tooltiptext="@load(item.tipo)" style="text-align: center"/> 
        <listcell label="@load(item.reconsDetalle)" tooltiptext="@load(item.reconsDetalle)" style="@load(item.estiloRecons)"/>
        <listcell label="@load(item.nulos)" tooltiptext="@load(item.nulos)"  style="text-align: center" />
        <listcell label="@load(item.autoAct)" tooltiptext="@load(item.autoAct)" style="text-align: center"/>
        <listcell label="@load(item.descripcionDiccionario)" tooltiptext="@load(item.descripcionDiccionario)"/>
        <listcell label="@load(item.ruta)" tooltiptext="@load(item.ruta)"/>
        <listcell label="@load(item.actPendientes)" tooltiptext="@load(item.actPendientes)" style="@load(item.estiloActuPendientes)"/>
        <listcell label="@load(item.justificacion)" tooltiptext="@load(item.justificacion)" style="text-align: center"/>
        <listcell label="@load(item.unico)" tooltiptext="@load(item.unico)" style="text-align: center"/>
        <listcell label="@load(item.numeroParte)" tooltiptext="@load(item.numeroParte)"/>
        <listcell label="@load(item.indicesConstruccion)" tooltiptext="@load(item.indicesConstruccion)" style="@load(item.estiloRecons2)"/>
        <listcell label="@load(item.textoNoIndexado)" tooltiptext="@load(item.textoNoIndexado)"/>
        <listcell label="@load(item.actHabilitada)" tooltiptext="@load(item.actHabilitada)" style="text-align: center"/>
        <listcell label="@load(item.rutaIndice)" tooltiptext="@load(item.rutaIndice)"/>
        <listcell label="@load(item.actPendientesPartNumbers)" tooltiptext="@load(item.actPendientesPartNumbers)" style="@load(item.estiloActuPendientes2)"/>
        <listcell label="@load(item.justificacionPartNumbers)" tooltiptext="@load(item.justificacionPartNumbers)"/>
        <listcell label="@load(item.unicoPartNumbers)" tooltiptext="@load(item.unicoPartNumbers)"/>
        <listcell label="@load(item.nombreIntercalado)" tooltiptext="@load(item.nombreIntercalado)" style="text-align: center"/>
        <listcell label="@load(item.localizacion)" tooltiptext="@load(item.localizacion)" style="text-align: right" />
        <listcell label="@load(item.campoMultivalorado)" tooltiptext="@load(item.campoMultivalorado)" style="text-align: center"/>
        <listcell label="@load(item.incidencias)" tooltiptext="@load(item.incidencias)"/>
        <listcell label="@load(item.rDict)" tooltiptext="@load(item.rDict)" />
        <listcell label="@load(item.observaciones)" tooltiptext="@load(item.observaciones)" style="color: red;"/>
    </listitem>
</template>
<frozen columns="3"></frozen>

</listbox>

For some reason it is not shown correctly if I put listbox tags in their proper place.

Thank you,

Javier

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