This question is locked. New answers and comments are not allowed.
I took example project from this thread.
I'd like to be able to select multiple clubs and perform an operation on them. I also would like virtualization to be enabled for better performance.
I've added IsSelected property to Club object to track which clubs are selected and for this example I do simple counting of selected clubs on button click.
When I select grid rows inside viewport IsSelected property is correctly changed on them and I receive correct count on button click.
When I select all rows with Ctrl+A shortcut or using Shift+Click, IsSelected property is changed only on visible rows inside viewport and count returns not 400, but 10-30, depending on the size of browser window.
Is it possible to track reliably selected rows outside viewport without disabling virtualization?
Attached is modified project with observed issue (rename png to zip).
I'd like to be able to select multiple clubs and perform an operation on them. I also would like virtualization to be enabled for better performance.
I've added IsSelected property to Club object to track which clubs are selected and for this example I do simple counting of selected clubs on button click.
When I select grid rows inside viewport IsSelected property is correctly changed on them and I receive correct count on button click.
When I select all rows with Ctrl+A shortcut or using Shift+Click, IsSelected property is changed only on visible rows inside viewport and count returns not 400, but 10-30, depending on the size of browser window.
Is it possible to track reliably selected rows outside viewport without disabling virtualization?
Attached is modified project with observed issue (rename png to zip).