Enables sidebar node or nodes with id.
enable(id1, [id2], ...)

id | string, id of the sidebar node

Returns integer.

#### Description

The node(s) must exists in the .nodes array of the sidebar or its nested nodes. The node is identified by the .id property. The method will set .disabled property of the node to false. It returns the number of enabled nodes that were disabled before.
If you have defined object in the following way: $('#sidebar').w2sidebar({ name : 'sidebar', img : 'icon-page', nodes: [ { id: 'id-1', text: 'Level 1', disabled: true }, { id: 'id-2', text: 'Level 2' }, { id: 'id-3', text: 'Level 3' } ] }); You can: w2ui['sidebar'].enable('id-1');