Forum Discussion

Avais's avatar
Avais
Occasional Contributor
5 years ago

Swing table - Getting the visible value from a cell not the underlying data

Hi    I've run into a similar problem to the one mentioned in this discussion:    https://community.smartbear.com/t5/TestComplete-Desktop-Testing/Swing-table-Getting-the-visible-value-from-a-cell...
  • TanyaYatskovska's avatar
    5 years ago

    Hi Avais,

    The last code you posted here calls the getCellRendererComponent method:

     

     

    renderer = table.getCellRenderer(row, col).getCellRendererComponent(table, value, False, False, row, col)

     

     

    According to the article, you are referring it should be getTableCellRendererComponent. Could you please correct the code and try to execute it again. Does this help?