Highlight a row in a power table upon opening window

I am trying to highlight the first row of a power table component upon opening the window that it is contained in. I managed to set the selectedRow to 0 using the “Initialize” event handler on the table; however, that sets the selectedRow to 0 without highliting it. I would also like to highlight that row so that the user would be able to see it. Any ideas on how to do this? Thanks!

Look here

Put his in Initialize:

	def selectrow(table = self):
		table.selectedRow = 0

You can experiment with the delay (1000ms)…

1 Like

that is what i have right now, and that works. It does set the selectedRow to 0, but it does not highlight it.

Before I posted I tried my self. It highlights in my power table in v7.9.13.