I have a dynamically created grid.
A user can click on the grid and mark a startpoint (cell goes red) and mark an endpoint, cells go red.
The above works.
What I cant figure out in Appery Javascript is how to then fill in all blocks between the start and end point to create a square selection.
Basically I have start row, end row, start column, end column, and from that I want to set the cells background.
I've tried almost every idea on Google with no success....
Can you help please?