Option to not show table footers

  • 2
  • Idea
  • Updated 4 years ago
  • Under Consideration
For small subforms there doesn't seem to be a need to show the table footer. I did it will a little CSS but you might consider it as a checkbox option. It would have to mean that the table would show all its rows... regardless of how many.
You can see here the phone subform has no footer.
Photo of ktyler

ktyler

  • 9,244 Points 5k badge 2x thumb

Posted 5 years ago

  • 2
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Ken. If you turn off excel download and set the table to load all data you will get what you are looking for.
(Edited)
Photo of ktyler

ktyler

  • 9,244 Points 5k badge 2x thumb
I did both those things... but AFTER I had figured out how to hide it with CSS... more than one way ....
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
Rob - I have followed the steps that you outlined (turn off excel download, set table to show all) and the table is still displaying the footer with the text "Showing Rows 1-6 of 6"  Possibly I am overlooking a step?

As Ken mentioned, I can hide with CSS but if there is a way to do this via the declarative interface that would be ideal.

Thanks!
(Edited)
Photo of Gregg Baxter

Gregg Baxter, Official Rep

  • 3,080 Points 3k badge 2x thumb
Hi Tyler can you please share your css for this? Would be much indebted.
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
Hello Gregg -

Here are the steps I used to accomplish the above:

1) Add css class to table that I want to hide footer on (e.g. hidetablefooter)
2) Add a css resource with the following css:

.hidetablefooter .nx-list-footer {
    display:none;
}

The reason for step #1 is to ensure that the footer is hidden only on tables I want it hidden on and not all tables.

Hope this helps.
(Edited)
Photo of Gregg Baxter

Gregg Baxter, Official Rep

  • 3,080 Points 3k badge 2x thumb
Thanks Barry.  Works like a charm....
Photo of Kris

Kris

  • 574 Points 500 badge 2x thumb
This is great to find!  I tried it though and I'm still seeing "showing rows 1-...".  

I added the class to my table: 



I added the CSS Barry has above, but still see it's "showing rows..." when i view my page:



Any thoughts on what i'm doing wrong?

Thanks guys!
Kris
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
I think that when you add the css class to your table, in the top image, the text should be "hidetablefooter" and not "HideTableFooter". I may be way off, I just think that I've run into css case sensitivity issues before.  http://stackoverflow.com/questions/12533926/are-class-names-in-css-selectors-case-sensitive
Photo of Kris

Kris

  • 574 Points 500 badge 2x thumb
Thank you Moshe!  You weren't way off...you were right on.  I didn't even think of case sensitivity.  Thank you!
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Always think of case sensitivity...