I have a label that displays status... it starts out "searching...", next it should display "rendering...", and finally, "Matched n results".
It works find except after updating the observable that changes the status to searching, the label does not change and jumps directly to Matched results. It takes about 5 seconds to render the results, and even though I update the observable right before setting the observable array to my data... the label doesn't update. When I place an alert box between the status change and the setting of the data, the label changes.
Is there a way to force knockout to handle its existing events (show the new value of the bound element) before continuing to render what's about to come (when I apply the newly returned data to the observableArray - which causes 5 seconds of processing)?
Thanks,
Mick