I am trying to make a custom grid component that displays the pagingToolbar if PagingLoader is provided to it. It will not be displaying the pagingToolbar if it receives ListLoader.

I know we can add both grid and pagingToolbar to Vertical contiainer, but my requirement is as described above. Kindly let me know how to develop this custom Grid