Edit pagination for dGrid