correction in disabling grid in print/print preview