This is a migrated thread and some comments may be shown as answers.

rebinding datasource after ListView on page > 1 makes results invisible

2 Answers 47 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Michael Hennessy
Top achievements
Rank 1
Michael Hennessy asked on 13 Aug 2012, 04:55 PM
After paging the listview (with infinite scrolling) and then changing the datasource to a smaller set and page = 1 the listview items become invisible.  Have to call this method to bring them back into view:
$("#contact-list").parent().parent().css("-moz-transform""translate3d(0px, 0px, 0px)")

Would like to have a framework method that would do the same in the most appropriate way.

Thank you
Filipp

2 Answers, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 16 Aug 2012, 02:54 PM
Hi Michael,

You only need to call the reset() method of the current View scroller:
app.scroller.reset();

All the best,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mat
Top achievements
Rank 1
answered on 22 Aug 2012, 02:42 PM
*Edit: reposted question in ListView thread*
Tags
ListView
Asked by
Michael Hennessy
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Mat
Top achievements
Rank 1
Share this question
or