Drag and drop names on the left to put into the chart on the right.
This is useful when you have a fix list of things you want to put in a chart.
This is configurable with text boxes to add, edit, or remove column headers, row headers, or items.
I've always wanted to make something like this, but didn't really look into it.
I stumbled upon the draggable attribute and then looked into how to use it.
This is a proof of concept that I may add to further. I think this works great with assigning shift schedules.
Hopefully, this can lead to being able to create a quick app to do simple drag and drop processes.
- Highlight box when dragging an item over it
- Retain data after configuration updates or page refresh using
localStorage
App used to create this diagram: https://asciiflow.com
βββββββββββ¬ββββββ¬βββββ¬βββββ¬βββββ¬ββββ
β β βCol1βCol2βCol3βColβ
βββββββββββΌββββββΌβββββΌβββββΌβββββΌββββ€
β Item 1 βRow 1β β β β β
βββββββββββΌββββββΌβββββΌβββββΌβββββΌββββ€
β Item 2 βRow 2β β β β β
βββββββββββΌββββββΌβββββΌβββββΌβββββΌββββ€
β Item 3 βRow 3β β β β β
βββββββββββΌββββββΌβββββΌβββββΌβββββΌββββ€
β βRow 4β β β β β
βββββββββββΌββββββΌβββββΌβββββΌβββββΌββββ€
β βRow 5β β β β β
βββββββββββΌββββββΌβββββΌβββββΌβββββΌββββ€
β βRow 6β β β β β
βββββββββββ΄ββββββ΄βββββ΄βββββ΄βββββ΄ββββ