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!
Put his in Initialize:
def selectrow(table = self): table.selectedRow = 0 system.util.invokeLater(selectrow,1000)
You can experiment with the delay (1000ms)…
that is what i have right now, and that works. It does set the selectedRow to 0, but it does not highlight it.