Hi,
It seems when having a table with many rows and summary, If using the option ‘Keep headers visible’ , that the summary often appears multiple times when scrolling back up
Me and Barry went back and forth on it in case interested see this post towards the end of thread
Here’s basically Barry’s summary of issue: When table repaints, it must ensure that the column summary cell gets redrawn properly and the “floating” one eliminated.
And here’s xml to reproduce
- Preview page
- Scroll down to bottom
- Scroll up to top
- Change “Show Top” field from True to False
<fields>
<field id="Name"/>
<field id="CreatedDate"/>
<field id="Fax"/>
<field id="Phone"/>
<field id="Rating"/>
<field id="AnnualRevenue"/>
<field id="NewField" uionly="true" displaytype="FORMULA" precision="9" scale="2" readonly="true" returntype="DOUBLE">
<formula>1</formula>
</field>
</fields>
<conditions/>
<actions/>
</model>
<model id="Tracker" limit="1" query="false" createrowifnonefound="true" adapter="" type="" sobject="Account">
<fields>
<field id="ShowTop" uionly="true" displaytype="BOOLEAN" label="ShowTop" defaultValue="true"/>
</fields>
<conditions/>
<actions/>
</model>
</models>
<components>
<basicfieldeditor showheader="true" showsavecancel="false" showerrorsinline="true" model="Tracker" buttonposition="" uniqueid="sk-30NG6c-159" mode="edit">
<columns>
<column width="100%">
<sections>
<section title="Section A" collapsible="open">
<fields>
<field id="ShowTop"/>
</fields>
</section>
</sections>
</column>
</columns>
</basicfieldeditor>
<skootable showconditions="true" showsavecancel="true" showerrorsinline="true" searchmethod="server" searchbox="true" showexportbuttons="false" pagesize="10" createrecords="true" model="Account" buttonposition="" mode="read" uniqueid="sk-30DUfC-253">
<fields>
<field id="Fax"/>
<field id="Name"/>
<field id="Phone"/>
</fields>
<rowactions>
<action type="edit"/>
<action type="delete"/>
</rowactions>
<massactions usefirstitemasdefault="true">
<action type="massupdate"/>
<action type="massdelete"/>
</massactions>
<views>
<view type="standard"/>
</views>
<renderconditions logictype="and">
<rendercondition type="fieldvalue" operator="=" enclosevalueinquotes="false" fieldmodel="Tracker" sourcetype="fieldvalue" nosourcerowbehavior="skipandnorender" field="ShowTop" value="true"/>
</renderconditions>
</skootable>
<skootable showconditions="true" showsavecancel="true" showerrorsinline="true" searchmethod="server" searchbox="true" showexportbuttons="false" pagesize="10" createrecords="true" model="Account" buttonposition="" mode="read" uniqueid="sk-30Cud3-107" allowscrollbars="true" floatheader="true">
<fields>
<field id="Fax"/>
<field id="Name"/>
<field id="Phone"/>
<field id="Rating" valuehalign="" type=""/>
<field id="AnnualRevenue"/>
<field id="NewField" decimalplaces="" valuehalign="" type="">
<label>test</label>
<summaries>
<summary>sum</summary>
</summaries>
</field>
</fields>
<rowactions>
<action type="edit"/>
<action type="delete"/>
</rowactions>
<massactions usefirstitemasdefault="true">
<action type="massupdate"/>
<action type="massdelete"/>
</massactions>
<views>
<view type="standard"/>
</views>
<searchfields/>
</skootable>
</components>
<resources>
<labels/>
<css/>
<javascript/>
</resources>
<styles>
<styleitem type="background" bgtype="none"/>
</styles>
</skuidpage> Thx