Skip to content

Commit 0764472

Browse files
committed
Explain new disableParentChange option.
1 parent c68bad7 commit 0764472

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Also:
2222
- All jQuery Sortable options, events and methods are available
2323
- It is possible to define elements that will not accept a new nested item/list and a maximum depth for nested items
2424
- The root level can be protected
25+
- The parentship of items can be locked, just as if it was a family tree.
2526

2627
## Usage
2728

@@ -60,6 +61,8 @@ Also, the default list type is `<ol>`.
6061
## Custom Options
6162

6263
<dl>
64+
<dt>disableParentChange (2.0)</dt>
65+
<dd>Set this to true to lock the parentship of items. They can only be re-ordered within theire current parent container.</dd>
6366
<dt>doNotClear (2.0)</dt>
6467
<dd>Set this to true if you don't want empty lists to be removed. Default: <b>false</b></dd>
6568
<dt>expandOnHover (2.0)</dt>

0 commit comments

Comments
 (0)