UI-Grid Empty Base Layer
The empty base layer plugin for UI-Grid provides the ability to have the background of the grid be empty rows, this would be displayed in the case were the grid height is greater then the amount of rows displayed.
You can install
npm i --save @ui-grid/empty-base-layer
Once you install you need to load the respective JS and CSS files as seen bellow:
Alternatively, if you are using Webpack or RequireJS to load your dependencies, you can do the following at the top of the file that needs it:
Once you load the file, you need to include 'ui.grid.emptyBaseLayer' module in your angularJS app's dependencies, and add the ui-grid-empty-base-layer directive to your grid element.
You can find an example of this plugin in action on our website
Documentation for this plugin is provided in the api documentation, but we recommend that you pay special attention to the following: