johnny / johnny/jquery-sortable

I can't sort items out of group

Open
#275 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
1.5k
Forks
429
PR merge metrics
No merged PRs in 30d

Description

I have a table like the one below, I have items outside groups and 1 group, I can get items that are inside group and put outside this group but I can't get items and add to group, how to add items to group?
.
.
The HTML:
.



A Column




A Item 1


A Item 2


A Item 3


A Item 4


A Item 5



A Item 5.1


A Item 5.2


A Item 5.3


A Item 5.4






A Item 6

.
.
.
.
The JavaScript

>

>

>

> $(function () {
> $('.sorted_table').sortable({
> containerSelector: 'table',
> itemPath: '> tbody',
> itemSelector: 'tr',
> placeholder: '<tr class="placeholder"/>'
> });
> });

>

.
.
![image](https://user-images.githubusercontent.com/49990645/66598459-79496700-eb77-11e9-9c7a-3464ac1d87f8.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.