Don't show "new" and "delete" buttons when the grid is read-only.