PDA

View Full Version : nsbrowser weird issues with reloadColumn




Chirone
Jul 8, 2009, 08:31 PM
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?