Ticket #6781 (closed enhancement: wontfix)
[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
Change History
Note: See
TracTickets for help on using
tickets.