Is there a way to change the row height from scripting. It is for a in table header. I also want to center and bold the text in a certain row and column in scripting.
I got this to work for the auto center but the script I had used to change that certain row and column color based on value doesnât work now
if colName =="Question":
if data.getValueAt(rowIndex,"EquipID" )==0:
return {'horizontalAlignment':0}
what i had
return {âhorizontalAlignmentâ:0}
answer
returnValue[âhorizontalAlignmentâ] = 0
answer for the bold or bigger text
Font = Font(âDialogâ,1,15)
returnValue[âfontâ] = Font
Thank you for persisting and answering your own question. It is helping me today, 2/21/2020.
1 Like