Closed robmarkcole closed 6 years ago
That's easy enough, and you can update the example as a pull request if you like.
All you need to do is put the table variable within a live section, have writing into that table write to disk. ... I'm not sure how that will handle having someone already opening the file though...
I'm not sure file read write permissions will let the changes by by-directional.
As in while you have a file open...
Workflow wise you might have to make an "input.csv" and an "output.csv". Users write data they want to push to the form into input, when they want to copy data out they use output...
Alright, this is pushed to 0.6.5
if you could take that version for a spin and confirm you're happy enough with it.
There is still is quite a few more improvements required around the new section:
https://github.com/SimonBiggs/scriptedforms/milestone/18
Which I should be able to fix up soon.
OK 0.6.5 runs fine but how do I configure the write to output.csv ?
You'll have to use pandas.
@robmarkcole all good for us to close this issue?
OK this is working fine, the only issue I can see is that changes made to the UI table are then not synced back to the .csv file on disk. Will do some more playing.