This question is locked. New answers and comments are not allowed.
Hi,
I have started looking into using the RadDataServiceDataSource and have followed the MVVM example which actually just uses the QueryableDataServiceCollectionView and I am trying to come up with a way to create calculated columns which contain the time delta between two adjacent rows using the DateTime from one of the columns. So basically if the DateTime between a row and its next row was 1 day, then the delta would show that.
I am wondering if anyone has some ideas how I could do this without creating a wrapper object because that seems to cause some issues with my ability to use the DataService query directly while still being able to rely on the DataPager as I would be changing the underlying objects and collections.
The original data doesn't have deltas pre calculated because filtering changes what rows are adjacent and I would want to calculate the deltas between those the same way as if the data was contiguous.
What would be ideal is that even though I am using paging it still brings back an extra "hidden" row to be used in the delta calculation as if it was contiguous with the following page.
Cheers,
Clint
I have started looking into using the RadDataServiceDataSource and have followed the MVVM example which actually just uses the QueryableDataServiceCollectionView and I am trying to come up with a way to create calculated columns which contain the time delta between two adjacent rows using the DateTime from one of the columns. So basically if the DateTime between a row and its next row was 1 day, then the delta would show that.
I am wondering if anyone has some ideas how I could do this without creating a wrapper object because that seems to cause some issues with my ability to use the DataService query directly while still being able to rely on the DataPager as I would be changing the underlying objects and collections.
The original data doesn't have deltas pre calculated because filtering changes what rows are adjacent and I would want to calculate the deltas between those the same way as if the data was contiguous.
What would be ideal is that even though I am using paging it still brings back an extra "hidden" row to be used in the delta calculation as if it was contiguous with the following page.
Cheers,
Clint