nsbrowser weird issues with reloadColumn

Discussion in 'Mac Programming' started by Chirone, Jul 8, 2009.

  1. Chirone macrumors 6502

    Mar 2, 2009
    at some point in the program i have a browser that has the information that should be displayed changed

    when it changes i call [nsbrowser reloadColumn: 0] and [nsbrowser reloadColumn: 1] to reload the first two columns

    every so often the columns reload and the browser reflects the changes made. the changes are usually something like a different font to a cell, or changing a cell's text value or removing all the cells from the column

    it works every so often.... not always...

    sometimes i'll call reloadColumn and use break points to see if it's going through the code, it'll reach the line and pass over them fine, yet the nsbrowser doesn't change at all...
    however, say if a change happens and the 0th and 1st column should be reloaded to reflect the changes
    if i click on the 0th column anywhere then the 1st column reloads...

    why does calling the reloadColumn not always reload the column with the correct information? what could cause this?

Share This Page