Hello,
I have a canvas with its verticalScrollPolicy = "auto" and whenever I reload data into the canvas I want to set the position of the scroll bar back to the top of the page.
Does anyone know a way that I could do this?
Thank you...
Printable View
Hello,
I have a canvas with its verticalScrollPolicy = "auto" and whenever I reload data into the canvas I want to set the position of the scroll bar back to the top of the page.
Does anyone know a way that I could do this?
Thank you...
I solved the problem myself, I was being a bit stupid and failing to notice there is a verticalScrollPosition attribute.
I just set this back to 0 whenever content is reloaded...