I am not sure if this is the correct place to ask such a question but I am looking to find a javascript component which does the following functions:
- Have an amount of columns / rows
- The grid will have several items in it, the width of the items can spread multiple columns and rows but fits in the grid
- User must be able to drag elements around but not overlapping other elements
- User must be able to resize elements in all directions but again, not overlapping other elements
- Attach to events on resize / drag in order to communicate such changes with backend
The image below depicts a visual example of what I am looking for. In the below example, the X-axis would represent time slots while the Y-axis would represent Table Nos and hence the red blocks below are denoting:
- Table #2 allocated from 12:00 - 15:00
- Table #4 allocated from 15:00 - 17:00
- Table #6 & 7 allocated from 14:00 - 16:00