I have a DataList that gets it's elements from a collection, that gets it's data from an web service (JsonpRequest)
I want the DataList to scroll to a certain position inside the list.
Say there are 50 elements in the collection and after collection gets filled, i need the datalist to scroll and focus on element 25.
The way i do it now is
//this is to show the required position in the middle of the list
This does not seem to work too reliably though (doesn't seem to work at all). Seems to have something to do with the fact that if i try to scroll to relevant position during callback of the collection go() event
What's the good and correct way to position focus around the desired element in the datalist?