Hi guys,
I’m playing around with a grid which I try to bind to an external rest service. This service supports basic crud with paging but there is no count method and the total number of items changes frequently (not via my application though). The total number of items is probably somewhere between 500.000 - 1.000.000. The DataProvider interface is nice but I fail to implement any version of it since I can’t provide a count. What would be a good approach for this task? Any pointers/ideas are appreciated!
It’s hard to say without trying it out and experimenting with the real parameters of the system, but one idea would be to create a proxy that gives an estimated count and passes through the queries to the real service. If you overshoot the real amount of items, maybe you could fill the list with empty entries.
-Olli