Power Table - Remove the outside component border

I am trying to remove or set the color of the Power Table component border, I try the following code on the component scripting [initialize]:

	from javax.swing import BorderFactory
	myBorder = BorderFactory.createLineBorder(system.gui.color(67,60,69))
	tbl = self.getTable()
	#tbl.border = None # try this, didn't work
	tbl.tableHeader.background = system.gui.color(67,60,69)
	tbl.setBorder(myBorder)
	self.viewport.background = system.gui.color(67,60,69)

that changes the color inside the table, but not the border outside the component.
tempsnip
thanks

self.border = None is what you want!

3 Likes

Hello Matthew,
thanks for the update, this works

1 Like

Happy to hear!