ODataVirtualCollectionView and Column totals

Posted by: dev on 7 November 2019, 10:14 am EST

    • Post Options:
    • Link

    Posted 7 November 2019, 10:14 am EST

    Hi there

    Is it possible to use the ODataVirtualCollectionView and have correct totals for the full data set displayed?

    As an example, I modified one of your examples which is here:

    https://www.grapecity.com/wijmo/demos/Grid/Data-binding/VirtualOData/vue

    I changed the app.vue to the attached file.

    You can see that the totals on the non-virtual grid are fine once the data is loaded, but the virtual grid only have the totals of what is showing rather than the total for the full data set.

    Let me know if this is possible and if so, any help in acheiving it is greatly appreciated.

  • Posted 7 November 2019, 11:54 pm EST

    Hi Brian,

    We are sorry but this is not possible because the ODataVirtualCollection class only GETs the number of data that is required to show on the current viewRange. So, if there is no data present, then there is no way to calculate the total.

    Regards,

    Ashwin

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels