I have a set of items like this:
I am trying to replicate the functionality of a file explorer in terms of item selection.
To clarify, I aim to create a feature where hovering over an item and left-clicking it would generate a virtual rectangle to select all items within that area (similar to how Windows Explorer allows you to select multiple files).
I have attempted to achieve this using JQuery by monitoring mouse up/down events and related hover events, but so far nothing has worked as intended.
Any suggestions on how I could accomplish something similar are greatly appreciated. Thank you!