How to Send information back to the client using BasePagingLoadResult?
I hope someone can help me out on this.
I've implemented a remote search using Paging and it works fine.
However, I have a requirement wherein I would need to pass an information back to the client using the BasePagingLoadResult. Specifically I need to pass the value back to the client of the total size of the data list before it was filtered in the server. I can't use the totalLength because this is the totalLength of the filtered data.
I can't seem to find an elegant solution to this other than subclassing BasePagingLoadResult with an Object like a PagingLoadConfig. Is this the only solution?