Column headers underneath totals at the bottom

(6 posts) (2 voices)
  1. shem, Member

    I know that using a scroll bar on the right I can keep the Column headers in full view while scrolling down towards the bottom of the grid.
    However, it is sometimes tricky to find and make use of this scrollbar.

    So I was wondering if it was possible to display a duplicate of the Column headers, also at the bottom of the grid (i.e. under the totals at the bottom which are displayed via dbr.sum) ?

    If so how would I do that?

  2. myDBR Team, Key Master

    What is the problem you are trying to solve?

    By default, myDBR uses sticky headers, meaning the headers remain visible even when scrolled out of sight. What is the use case where you would need headers at the bottom of the table?

    --
    myDBR Team

  3. shem, Member

    Yes I sometimes see the sticky headers.
    But note that in my case the mydbr output is being displayed inside a PHP application using
    echo Html::tag('object'
    So sometimes when there are many columns and many rows, it is difficult/tricky to scroll down to the bottom while still seeing the sticky headers.
    Therefore I am asking if the header can also be a sticky footer so that when I am viewing the last row of the grid (and the totals) I still see the column names?

  4. myDBR Team, Key Master

    You would dio that using JavaScript. Clone the header and add it to the end.

    --
    myDBR Team

  5. shem, Member

    That won't work for me because I only want to do it for a specific report.

  6. myDBR Team, Key Master

    You can do it for specific report.


    myDBR Team


Reply

You must log in to post.