Posted 23 December 2019, 9:50 am ESTHi. New to C1 components.
I've already looked at a bunch of your competitors data grid components and was able to come up with a decent demo for each of them within a day.
But after a few hours of reading the C1 doc and looking at the samples, I must admit I'm a bit lost with all the C1CollectionView implementations that need to be used: if I want to do paging, I must use a C1PagedCollectionView; to do virtual scrolling, I use a C1VirtualCollectionView. That makes sense.
Now, I want to do sorting AND paging.
So far, I've been unable to achieve this. If I limit my dataset to say a 100 items, I can sort each column by clicking on the column. Nice.
But if I work with many thousands of entries, I need to enable paging (let's not get into virtual scrolling for now). I switch my collection from a IEnumerable<> to a C1PagedCollectionView and adapt my markup and code - it works, but now the sorting feature is broken.
Do you have a sample that demonstrates this use case? Can you provide a good explanation of the CollectionViews so I can start wrapping my head around this abstraction? I must say this looks very flexible, but overly complicated when trying to write a demo app within a day that demonstrates a grid with filtering, grouping, sorting, column resizing, column reordering and paging, which I was mostly able to achieve with grids from other vendors.
Looking forward to your reply