I have used a power table and want to highlight the outer border when selected. So on the power table, I have done the scripting. When any cell is selected I want the whole row displayed with the orange border and its thickness should be 3 px. In the configure cell I have written the below script
if selected == True:
from java.awt import Font
from javax.swing import SwingConstants
from javax.swing.border import LineBorder
return {'background': '#281C08','foreground': '#FF8C35', 'text':value, 'toolTipText':value, 'border': LineBorder(system.gui.color(241, 122, 44), 3)}
elif self.data.getValueAt(rowIndex,"CRANE SEQ STATUS") == 'COMPLETED':
return {'background': '#474747','foreground': '#8C918E', 'text':value, 'toolTipText':value}
elif self.data.getValueAt(rowIndex,"CRANE SEQ STATUS") == 'IN PROGRESS':
return {'background': '#281C08','foreground': '#FF8C35', 'text':value, 'toolTipText':value}
But all the cell's border gets this code I want only the outside border of the row to be in the orange color.
Any suggestion guys?