-
15 Mar 2008 8:20 PM #1Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,170
- Vote Rating
- 32
tdgi.ux.tdgi_border - Extension to allow collapsed layout titles
tdgi.ux.tdgi_border - Extension to allow collapsed layout titles
In response to this thread, I initially created a simple override (click here to see it action) to the Ext Border Layout. The solution was a quick one hour deal with not magic or gloss. There was some posts soon there after that requested more functionality for this override. (TDGi Blog Entry)
These requests include:- images for the east/west regions (for CBC)
- ability to re-use the original title
- the freedom to insert what ever element object or HTML fragment the end developer desired
- change from override to extension.
Click here to view a working example of this extension.
Click here to download the zip file of the full source and example. Click here to download the zip file of the full source and example.
Simple Example:
Screenshots:PHP Code:{
region:'west',
title:'West',
/* tdgi_border layout collapsed title config option start */
collapsedTitle: {
//Just like an Ext.DomHelper config object
element : {
// Required0
tag : 'img',
// Required
src : 'wSideLabel.jpg',
// Set this if you need to.
style : 'border: 1px solid #FF0000;'
}
},
/* tdgi_border layout collapsed title config option end */
split:true,
width: 200,
minSize: 175,
maxSize: 400,
collapsible: true,
margins:'0 0 0 5',
html : 'some Junk here'
}
(Internet Explorer 6 and 7)

(FF2.x/Safari on OS X)


Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
15 Mar 2008 11:38 PM #2
Collapsed compass regions are not that helpful if the end user does not instinctively know what they are. This attention to detail goes a long way. Kudos, and thanks for saving me some coding time.
Best regards,
Jerry Brown
-
18 Apr 2008 8:47 AM #3
Very nice. I like those red boxes with arrows that you drew in the picture. Maybe you can make popups like that

-
18 Apr 2008 9:20 AM #4Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,170
- Vote Rating
- 32
Truth be told, i'm looking at canvas tags, but IE seems to be the biggest hurdle.

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
19 Apr 2008 12:30 AM #5
Awesome stuff!
Thanks for sharing!Extensions:
Ext.ux.DatePickerPlus (Multimonth,Multiselect,...)
Ext.ux.menu.StoreMenu - Ajax Store as menu-item config
Extended Window - Aero Shadows, nested grayscaled modal windows
Ext.MessageBox.promptCombo/promptRadio/promptCheckbox
Ext.ux.plugin.triggerfieldTooltip (for Comboboxes, Datefields...)
Ext.util.MD5
Ext.util.Utf8 (encode/decode)
Ext.util.base64 (encode/decode)
Using:
ExtJS 3.4.1.1/4.2
XPsp3/W7sp1
IE8/9/10
FF 20
Chrome 26
-
1 May 2008 11:23 PM #6
-
2 May 2008 12:20 AM #7
Nice extension! How about making it with the panel icons, just like eclipse does?
-
2 May 2008 4:34 AM #8Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,170
- Vote Rating
- 32

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
2 May 2008 5:56 AM #9
You can use SVG/VML for text, they both have full DOM, so it'll be an easier transition, and text-selection might be possible. (SVG is supported by most browsers including Opera, Safari, and Firefox, while VML is supported by IE)
-
2 May 2008 6:02 AM #10Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,170
- Vote Rating
- 32
From my understanding, SVG requires an adobe client for IE6, which is still a huge chunk of the corporate industry standard.


Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.


Reply With Quote
