There’s a bug in the
configureCell() extension function on the Power Table component in Vision.
I tested on 8.1 and 7.9, both of which have the bug.
When selecting a row from a power table,
configureCell() does not execute for all cells. Instead, the cells it executes on depend on the index of the selected row. There appears to be a logical bug in how the cells are looped over.
To reproduce the bug:
- Create a Power Table and populate it with 5 values in one column of data. The bug is present regardless of the number of columns or rows, but it’s easier to test with less data.
- Set the Power Table’s configureCell() function to:
def configureCell(...): print rowIndex, self.selectedRow
- Run the component and select various rows. In the debugging console you’ll see that the rows being processed by
configureCell()are not consistent and depend on the row selected in the UI.