when there is no data or no paging, do not display paging or search