Pagination implemented on clinet and server along with editing functionality