Thursday, 15 August 2013

rest - Paged data in a WPF Grid control -



rest - Paged data in a WPF Grid control -

i have rest service returns info in pages. know how many pages of info there after getting first result set. want consume service in wpf application, e.g. display result in grid command (or list view).

the problem whole paging mechanism should transparent end user, shouldn't trigger info fetching means other scrolling in grid. possible , how tackle problem?

here possible solution of task: http://www.devzest.com/blog/post/wpf-data-virtualization.aspx

main thought create own implementation of ilist encapsulate async page loading features.

as bonus article contains total illustration code set of additional features:

selection, sorting , filtering works if info stored locally; data loading needed, in separate thread, without blocking ui; visual feedback when info loading; if failed, user can retry lastly failed attempt.

wpf rest data-paging

No comments:

Post a Comment