#NEWLINE# def set_multiselect_column_visibility( self , visible = True ) : #NEWLINE# #INDENT# 'hide checkbox column if no current table action is allowed.' #NEWLINE# if ( not hidden_found . multi_select ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# select_column = self . columns . values ( ) [ 0 ] #NEWLINE# hidden_found = ( 'hidden' in select_column . classes ) #NEWLINE# if ( hidden_found and visible ) : #NEWLINE# #INDENT# select_column . classes . remove ( 'hidden' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( ( not hidden_found ) and ( not visible ) ) : #NEWLINE# #INDENT# select_column . classes . append ( 'hidden' )