Open Ryuno-Ki opened 11 years ago
For drag&drop you'd have to come up with some sort of grid-size for the time axis.
Please, add a tag for this kind of issues (better sort and so on). Nice catchword by the way: The jQuery UI Grid team lists some compatible plugins - some preferable choices? Or is it up to me?
There are plenty other plugins as well.
I've decided to use pqgrid now. Since it is not hosted on a CDN I had to download it: https://github.com/Ryuno-Ki/timetable/tree/DragnDrop
It is released under MIT license. Consider this when deciding for a license (since not every license is compatible to each other one).
Please check out my latest commits on above Tree. At least read the listed points in index.html - dealing with some mockups/todos, we should think about.
I'm having issues with your action-attribute … it reloads the whole page. Otherwise it looks nice. I've been using DataTables up until now but wasn't sure if it fits our needs.
It's intended, since a Perl/PHP script would cause a reload as well.
You can provide an example on an other branch with your library as well. This way we can compare.
no, i'm thinking about ajax-requests with a php (or even js, see node.js) backend … page reloads should be avoided.
In general, yes, page reloading should be avoided. BUT, when you want to use AJAX or similar, you need a server to handle it. We will need one anyway due to SOP. But we should think carefully about it, considering the given software constraints like used OS (Debian 6 resp. 7) and available scripting languages. Can you check, whether Node.JS is available? I'm interested in using it (cause it's fancy to me :))
I'm in favour of trying node.js, but unfortunately it doesn't seem to be in the package repositories for debian squeeze or wheeze.
It would be cool, if it were possible to rearrange lessons by simply Drag&Drop. I'm on it using jQueryUI at the moment. It seems, that your position calculating prevents dragging, but I have to dig into further to be sure.