PDA

View Full Version : Close a tab from a document



Neil Gower
2 Aug 2007, 7:06 AM
Hi,

Loving ext.nd it shows lots of promise.. I have started using the Alpha 2 code and I am using the example database.

What I would like to do is have a button on the document openend from the view to close the tab the document is loaded in.. basically I want to duplicate the "Close" on the tab in an action button.

I just cant quite seem to find a way to do it...

Any Ideas.....

jratcliff
2 Aug 2007, 10:21 AM
I think this will work for you. Let me know if it does.

http://extjs.com/forum/showthread.php?p=37485#post37485