Bug with 'Sticky headers'

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

  1. Preview page
  2. Scroll down to bottom
  3. Scroll up to top
  4. 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

Dave,

By “often appears multiple times when scrolling back up” do you mean how the summary becomes sticky like the headers and scrolls along with the data?

Thanks!
Amy

Hi Amy,

Yes exactly , have not seen it recently so not sure if it has been fixed or just not been paying attention :smiley:

Here’s link to pic i had posted on other thread
https://d2r1vs3d9006ap.cloudfront.net/s3_images/1417067/RackMultipart20160516-100501-4h2khn-1.JPG?14…

Okay, good, I’m glad to hear that :slight_smile: I think it’s been fixed but I’ll keep an eye out for it

Thanks!
Amy