mjsarfatti/nestedSortable — pull request #116 by dustinbolton (2014-01-22 01:17:25+00:00)
Title: Allows starting individual branches expanded or collapsed

This update allows you to explicitly define the starting state of individual branches to be either expanded or collapsed beyond the default starting state of all collapsed or all expended. This allows overriding the default startCollapsed option on a per-branch level as needed.

On any branches you wish to start as explicitly collapsed or expanded, simply apply your defined (or default if you did not define) expandedClass or collapsedClass classname to the applicable
branch (or whatever you are using as your defined entity in the "items" setting).

I needed this so that I could ‘remember’ the state of individual branches and restore them on page load.