#NEWLINE# def initTable( self , columns , columnStyles , rowCount ) : #NEWLINE# #INDENT# self . grid . resize ( ( rowCount + 1 ) , len ( columns ) ) #NEWLINE# for i in range ( len ( columns ) ) : #NEWLINE# #INDENT# self . grid . setText ( 0 , i , columns [ i ] ) #NEWLINE# if columnStyles : #NEWLINE# #INDENT# self . grid . cellFormatter . setStyleName ( 0 , i , ( columnStyles [ i ] + 'header' ) )