Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer Reddit TeamsRecent ChangesSend via e-MailPrintPermalink × Z- Type CONTENTS CONTENTS-Type Property. <prop name="CONTENTSCOPIASENPELICULAS" visible="1" group="1" type="Z" contents="Stockp" onchange="Refresh255" lines="6" mask="2"/> <contents name="Stockp" src="Stockp" filter="IDPELICULA=##ID## AND t1.BAJA=0"/> Fixedbottom Attribute To have on screen a fixed design and the contents have a fixed number of visible records, we have implemented the fixedbottom=true attribute. This attribute is defined in the prop of definition of the contents and it has to be combined with the height=-2 attribute, which indicates that the height will come defined by the height of the children contents in the control. <prop name="@AlarmasOT" type="Z" contents="AlarmasOT" mask="0" width="1230p" locked="true" height="-2" fixedbottom="true" /> <contents name="AlarmasOT" src="AlarmasOT_Supervisor" filter="a.IDOT=##ID## AND a.ANULADO=0" /> Regarding the contents collection, it must have a fixed cell height (cell-height), as well as the loadall=true attribute, in order to load the contents records from the scratch. <coll name="AlarmasOT_Supervisor" title="AlarmasOT" loadall="true" sql="SELECT a.ID, a.IDOT, a.IDALARMA, a.ANULADO,a.ACTIVO, IFNULL(al.CODIGO,'') as MAP_CODIGO_GRID, IFNULL(al.NOMBRE,'') as MAP_DESCALARMA_GRID FROM ##PREF##OTALARMAS a LEFT JOIN ##PREF##ALARMAS al on a.IDALARMA = al.ID" objname="OTAlarmas" updateobj="OTAlarmas" progid="ASData.CASBasicDataObj" filter="a.ACTIVO=1" check-owner="false" dependent="false" cell-even-color="#E8E8E8" cell-height="80p"> <group name="General" id="1"> <prop name="MAP_CODIGO_GRID" tooltip="No data" type="T" tmargin="16p" class="textedit" visible="4" labelwidth="0" lmargin="16p width="170p" text-border="false" align="right" textfontsize="6" /> <prop name="MAP_DESCALARMA_GRID" tooltip="No data" lmargin="35p" type="T" tmargin="16p" newline="false" class="textedit" labelwidth="0" visible="4" width="1000p" text-border="false" align="left" textfontsize="6" /> </group> /coll>