Transposed grid - filter data - refresh display

Posted by: mary431982 on 8 March 2021, 7:59 am EST

    • Post Options:
    • Link

    Posted 8 March 2021, 7:59 am EST

    Hello,

    I am aware of “Features based on regular (non-transposed) data sources only apply to the original data source, so you can sort, filter, group, or paginate items before assigning them to the TransposedGrid, but if you later change those parameters, the grid will not be automatically updated.”,

    but I expected that after filtering data if I use refreshCells() or Invalidate() the grid display will change and show rows & columns based on filtered DataSource, but its not working as I expect.

    How can I force transposed grid to display the right data?

    Regards

  • Posted 9 March 2021, 7:21 am EST

    Hi,

    To achieve the required functionality you may handle the collectionChanged event of the sourceCollectionView and update the itemsSource of the transposed grid inside the handler. Please refer to the following sample which demonstrates the same and let us know if you face any issues:

    https://codesandbox.io/s/wijmo-starter-forked-6qdkt?file=/src/index.js

    Regards

Need extra support?

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

Learn More

Forum Channels