Ticket #6781 (closed enhancement: wontfix)

Opened 7 months ago

Last modified 2 weeks ago

[patch][needs cla] BorderContainer: added showHideRegion feature

Reported by: guest Owned by: dante
Priority: normal Milestone: future
Component: Dijit Version: 1.1.0
Severity: normal Keywords:
Cc:

Description

Hi I added to BorderContainer? a feature to hide and show regions.

I hope that it can be included in BorderContainer? widget.

Giovanni Porcari (aka genro)

giovanni.porcari@…

    showHideRegion: function(region,visible){
        var regionNode = this['_'+region]
        if (regionNode){
            dojo.style(regionNode,'display',(visible? '':'none'));
            var splitterNode = this._splitters[region]
            if (splitterNode){
                var tk=this._splitterThickness['_'+region] || this._splitterThickness[region]
                this._splitterThickness['_'+region]=tk
                dojo.style(splitterNode,'display',(visible? '':'none'));
                this._splitterThickness[region] =visible? tk : 0
            }
            this.layout()
        }
    },

Attachments

BorderContainer.js (19.2 kB) - added by guest 7 months ago.
test_BorderContainer_showHideRegion.html (3.0 kB) - added by guest 7 months ago.

Change History

Changed 7 months ago by guest

Changed 7 months ago by guest

Changed 7 months ago by dylan

  • summary changed from Border Container added showHideRegion feature to [patch][needs cla] Border Container added showHideRegion feature

Hi Giovanni, we require a CLA to accept patches... http://dojotoolkit.org/community and http://dojotoolkit.org/cla. Any chance you can send one over so we can look into this?

Changed 7 months ago by bill

As Dylan said we need a CLA before looking at patches.

Note also that we have something similar in ExpandoPane.

I'm not quite sure what the advantage is of hiding/showing a pane rather than removing it from the BorderContainer and readding it? Perhaps it's a bit easier for the developer?

Changed 6 months ago by peller

  • owner set to dante

Changed 6 months ago by bill

  • summary changed from [patch][needs cla] Border Container added showHideRegion feature to [patch][needs cla] BorderContainer: added showHideRegion feature

Changed 5 months ago by bill

  • milestone set to tbd

mark all (open) tickets w/blank milestones to be "tbd"; their milestones need to be set to a version number or to "future"

Changed 4 months ago by dante

  • status changed from new to assigned
  • milestone changed from tbd to 1.3

will close out if 1.3 comes and no CLA is submitted ... ExpandoPane? does this, and is almost a11y ready. Hopefully will be ready for proposing into dijit by 1.3 (expando)

Changed 2 weeks ago by bill

  • milestone changed from 1.3 to 1.4

bumping 1.4 tickets to 1.5, and most 1.3 tickets to 1.4

Changed 2 weeks ago by dante

  • status changed from assigned to closed
  • resolution set to wontfix
  • milestone changed from 1.4 to future

closing in favor of expando and lack of cla

Note: See TracTickets for help on using tickets.