'Set the option to hide gridlines on the screen and the printed page.
Args:
option:    0 : Don\'t hide gridlines
1 : Hide printed gridlines only
2 : Hide screen and printed gridlines
Returns:
Nothing.'

def hide_gridlines(self, option=1):

    if (option == 0):
        self.print_gridlines = 1
        self.screen_gridlines = 1
        self.print_options_changed = True
    elif (option == 1):
        self.print_gridlines = 0
        self.screen_gridlines = 1
    else:
        self.print_gridlines = 0
        self.screen_gridlines = 0
