PDA

View Full Version : [FIXED-1071][3.3.0] GridView destroy error



vladsch
25 Jun 2010, 7:02 AM
Hi,

ExtJS 3.3.0

IF grid has enableColumnMove: false (for example, PropertyGrid) then GridView raises an error during destroy (in the view's destroy method) because columnDrag is not defined

vladsch
25 Jun 2010, 8:31 AM
Hi,

Here is test case (close the window to see the error)


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Place here ExtJS resource files -->
<script type="text/javascript">
Ext.onReady(function () {
new Ext.Window({
renderTo: Ext.getBody(),
height: 400,
width: 400,
items: {
xtype: "propertygrid",
cm: new Ext.grid.ColumnModel({
columns: [{
header: "Name"
}]
})
},
closeAction: "close",
hidden: false
});
});
</script>
</head>
<body>
</body>
</html>

evant
29 Jun 2010, 10:01 PM
This is fixed up in SVN, thanks.