Hi,
I have problem with virtualizing RadGridView in silverlight with VirtualQueryableCollectionView. Everything works fine, till I add or delete row in grid. When it happened, I programatically change property VirtualItemCount, so it will force event ItemsLoading. Problem is, it will ask only for newly added item and rest is shown as empty rows. I know, that when VirtualItemCount is changed, it internally clears all rows. But I would expect when data is needed again, it will ask for them in ItemsLoading event. I can post sample application to demonstrate this. How can I solve this issue?
I am using this in bigger application, when data is loading as needed from database. Is only solution to implement some external logic to load always full page and partly ignore received index and itemscount in ItemsLoading event? Other solution I know is to create new collection, when items count is changed, but than it will reload always first page, which is not wanted behaviour. (Calling MoveToPage after that not works either, it shows empty rows too on loaded page. This function even not change PageIndex in collection).
Thanks for response.
Ladislav
I have problem with virtualizing RadGridView in silverlight with VirtualQueryableCollectionView. Everything works fine, till I add or delete row in grid. When it happened, I programatically change property VirtualItemCount, so it will force event ItemsLoading. Problem is, it will ask only for newly added item and rest is shown as empty rows. I know, that when VirtualItemCount is changed, it internally clears all rows. But I would expect when data is needed again, it will ask for them in ItemsLoading event. I can post sample application to demonstrate this. How can I solve this issue?
I am using this in bigger application, when data is loading as needed from database. Is only solution to implement some external logic to load always full page and partly ignore received index and itemscount in ItemsLoading event? Other solution I know is to create new collection, when items count is changed, but than it will reload always first page, which is not wanted behaviour. (Calling MoveToPage after that not works either, it shows empty rows too on loaded page. This function even not change PageIndex in collection).
Thanks for response.
Ladislav