# Make the Pager Stick to the Bottom of the TreeList

## Environment

<table>
    <tbody>
	    <tr>
	    	<td>Product Version</td>
	    	<td>4.5.0</td>
	    </tr>
	    <tr>
	    	<td>Product</td>
	    	<td>Progress® KendoReact TreeList</td>
	    </tr>
    </tbody>
</table>

## Description

How can I make the pager stick to the bottom of the TreeList, even if the page size is smaller?

## Solution

A custom [`Pager`](https://www.telerik.com/kendo-react-ui/components/datatools/api/pagerprops) should be rendered below the TreeList component and the [`onPageChange`](https://www.telerik.com/kendo-react-ui/components/datatools/api/pagerprops#onpagechange) event should be handled to update accordingly the data visible on the current page.

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/treelist/pager-at-bottom/source.txt)
