Bug Tracker

Ticket #2208 (new feature)

Opened 11 months ago

Last modified 9 months ago

Ability to disable specific accordion panes

Reported by: namesbc Assigned to: joern
Type: feature Priority: major
Milestone: 1.2.3 Component: ui
Version: 1.2.2 Keywords: accordion
Cc: Needs: Review

Description

It would be helpful to have the ability to enable/disable certain accordion panes. For example, disable a pane until an ajax request has completed loading the content contained within.

This could be implemented in the clickHandler by checking a html attribute in the header before opening the pane:

// If header is disabled then ignore click
if(clicked.attr('disable') == 'True') {
    return false;
}

Also, to allow javascript manipulation, write enable and disable functions which would add or remove the disabled attribute to the header specified by an index.

Attachments

Change History

Changed 10 months ago by paul

  • owner changed from paul to joern

Changed 9 months ago by joern

Sounds like a viable idea, to be implemented in a later release.

Note: See TracTickets for help on using tickets.