replaced grid with dgrid