Custom Footer

Description

You can use and show the Custom Footer with 2 left/right containers and will by default display filtered item count & total count on the right side. Also if it detects that you use row selection, it will also show the row selection count on the left footer side. You can also override both left/right side texts.

NOTE: The Custom Footer cannot be used in combination with Pagination, you can only show 1 or the other.

Demo

Demo Page / Demo Component

Usage

initializeGrid() {
  this.columnDefinitions = [ /*...*/ ];

  this.gridOptions = {
    // ...
    showCustomFooter: true, // display some metrics in the bottom custom footer
    customFooterOptions: {
      // optionally display some text on the left footer container
      leftFooterText: 'Grid created with <a href="https://github.com/ghiscoding/slickgrid-universal" target="_blank">Slickgrid-Universal</a>',
      hideMetrics: false,
      hideTotalItemCount: false,
      hideLastUpdateTimestamp: false
    },
  };
}

CustomFooterOption Interface

Below is the list of all options available with the Custom Footer, you can visit the customFooterOption.interface.ts to see latest code in case the code below is not up to date.

Screenshot Demo

Below is a print screen of the demo, you can see the full advantage of the custom footer with custom text on the left and filtered item count + timestamp on the right.

image

Last updated