Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/dabeng/OrgChart
Browse files Browse the repository at this point in the history
  • Loading branch information
dabeng committed Jun 22, 2016
2 parents 3fa26d8 + ef2877d commit a9f0242
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -590,12 +590,15 @@ This method is designed to get the hierarchy relationships of orgchart for furth
</table>

### Tips
- **How can I deactivate expand/collapse feature of orgchart?**(inspired by the [issue](https://github.com/dabeng/OrgChart/issues/25). Thank der-robert and ActiveScottShaw for their constructive discussions:blush)
- **How can I deactivate expand/collapse feature of orgchart?**

This use case is inspired by the [issue](https://github.com/dabeng/OrgChart/issues/25). Thank [der-robert](https://github.com/der-robert) and [ActiveScottShaw](https://github.com/ActiveScottShaw) for their constructive discussions:blush:

Users can enable/disable exapand/collapse feature with className "noncollapsable" as shown below.
```js
$('.orgchart').addClass('noncollapsable');
$('.orgchart').addClass('noncollapsable'); // deactivate

$('.orgchart').removeClass('noncollapsable');
$('.orgchart').removeClass('noncollapsable'); // activate
```

## Browser Compatibility
Expand Down

0 comments on commit a9f0242

Please sign in to comment.