Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sortable tables #89

Closed
zeristor opened this issue Mar 7, 2014 · 2 comments
Closed

sortable tables #89

zeristor opened this issue Mar 7, 2014 · 2 comments

Comments

@zeristor
Copy link

zeristor commented Mar 7, 2014

I am having issues using this to be able to drag and drop rows in a table. I would have thought this would be a much requested feature.

The examples have three nestings

outer-> class="container" data-bind="sortable: { data: tasks }">
middle-> class="item">
inner-> data-bind="visible: !$root.isTaskSelected($data)"

this is great with divs, but table->tbody->tr means that you can't put a thead in there properly. I've had table above it, but of course the columns won't match up.

Would a working example using a table be possible? Others seem to be able to do it, perhaps I'm missing something basic.

@zeristor
Copy link
Author

zeristor commented Mar 7, 2014

I looked into it deeper, and I now understand how it is working.

@zeristor zeristor closed this as completed Mar 7, 2014
@rniemeyer
Copy link
Owner

this might help for part of it too: #46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants