Partial rendering and apply it to the databases pagination