react-table-drag-select
react-table-drag-select copied to clipboard
Use integer instead of boolean to represent data
I want to use this package to create a timetable. However, it has to support multiple states. Is there a way to use an integer instead of a boolean in the cells array?
Not presently but it's a good idea. If a get a spare moment I'll add that feature.
A PR is always welcome.
I'll probably need to figure out a good API for doing more than just boolean state. If you have any thoughts on that I'd be interested to hear it.
@mcjohnalds @Studio384 We needed something along the lines of this, so I took a stab at an implementation - would be interested to know if this matches what you would look for