PDA

View Full Version : [CLOSED]Tab Panel: Tabs are not closable



James Goddard
23 Feb 2011, 6:17 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title id="page-title">Test Page</title>

<link rel="stylesheet" type="text/css" href="js/extjs/resources/css/ext.css" />

<script type="text/javascript" src="js/extjs/ext-core-debug.js"></script>
<script type="text/javascript" src="js/extjs/ext-all-debug.js"></script>

<script type="text/javascript">
Ext.onReady(function() {
var panel = new Ext.tab.TabPanel({
renderTo: Ext.getBody(),
width: 600,
height: 400,
title: 'Test',
items: [{
title: 'Test 1',
closable: true
}, {
title: 'Test 2',
closable: false
}]
});
});
</script>
</head>
<body>
</body>
</html>

Neither tab is closable.

evant
23 Feb 2011, 3:18 PM
This has already been resolved for the next release.

James Goddard
25 Feb 2011, 10:18 AM
Confirmed fixed in pr2.