-
21 Sep 2009 8:18 AM #11
This is example is very cool but a little over our end users heads at the moment.
Can the minimize just auto-collapse window in lower left area? If so can you lead me to the right window params or example please? I have minimizable:true but the button does nothing.
-
6 Nov 2009 3:31 AM #12
it's cool.
How can make it show the window with onclick event?
-
6 Nov 2009 7:51 AM #13
Panel that calls the open window command.
Function that the panel above calls.Code://menu item - smartMenu var smartMenu = new Ext.Panel({ title :'Reporting', html :'<a href="#" onClick="toggleReporting()">toggleReporting()</a>', border :false });
Reporting window created but hidden at runtime. This is the window that opens and closes when a user clicks the link in the panel above.Code://function used to open reporting window function toggleReporting() { w = Ext.getCmp('reportingPanel'); w.hidden ? w.show() : w.hide(); console.log('toggleReporting()'); }
Code:new Ext.Window({ id : 'reportingPanel', collapsible : true, closeAction : 'hide', closable : true, plain : false, height : 400, width : 800, layout : 'fit', title : 'Reports' }).hide();
Another example of this concept is found in the complex border layout example. It creates a link in the second tab in center that controls the west menu.
-
14 Jun 2010 3:01 AM #14
It's very nice work. I was looking for one like this and it made it very easy for me.
-
26 Dec 2011 4:00 AM #15
Using with Ext JS 4.0 yields 3 problems...
Using with Ext JS 4.0 yields 3 problems...
The 3 problems I encounter are -
1) This file is no longer supported in version 4.0:
<script type="text/javascript" src="./ext-2.2/adapter/ext/ext-base.js"></script>
I searched online and someone says use bootstrap.js instead, not sure whether it is correct.
2) Ext.reg('uxwindow', Ext.ux.Window); is no longer supported in version 4.0
I hv changed toExt.ux.Window = Ext.extend(Ext.Window, {alias: 'widget.uxwindow',3) Firefox says "me.model is undefined", Chrome says "Uncaught TypeError: Cannot call method 'getProxy' of undefined", the error occurs in "ext-all-debug.js" line 44348. I still don't know how to resolve it, anyone has any idea?
...
Thus until now I still can't run this project... it would be a pity if this project cannot be use with 4.0.


Reply With Quote