voyent
How to make lazy panel in ICEface 4.3  XML
Forum Index -> General Help
Author Message
satish.bhor

Joined: 05/Mar/2019 08:00:39
Messages: 1
Offline


I have data ICEfaces 4.3 Datatable in which every row has one panel and its collapsed by default. Even it is collapsed its content view is getting rendered which making page slow.
Here is sample code,

Code:
 	<ace:dataTable  var="myVar" value="#{mybeanobj}"
        		paginator="true"
        		paginatorPosition="top"
        		pageCount="5"
 			rowIndexVar="row"
        		rows="20" >
        		<ace:column>
 			<ace:panel id="details" toggleable="true"  styleClass="details-marker" collapsed="true">
 				<f:facet name="header">
 	                    <h:outputText value="my header"/>
 	            </f:facet>
 	            <h:outputText value="myVar.v1"/>
 	            <h:outputText value="myVar.v2"/>
 	            <h:outputText value="myVar.v3"/>
 	            <h:outputText value="myVar.v4"/>
 	            <h:outputText value="myVar.v5"/>
 	            <h:outputText value="myVar.v6"/>
 	            <h:outputText value="myVar.v7"/>
 	            </ace:panel>
 			</ace:column>
 		</ace:dataTable> 
 
 

How I can make panel lazy so that content will be loaded only when its toggled rather than during page render ?

 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team