hzmdyz
30 Aug 2007, 6:52 PM
I have a TreePanel and a Grid in the same page.
I want to DragDrop from Grid to Tree.
when the browser is IE or FF,and server OS is widows, it works;
but when server is LINUX ,and browser is FF, it does not work;
grid = new Ext.grid.Grid('ticket-grid',
{
ds: ds
,cm: getColumnModel()
,loadMask : Divo.loadMask
,selModel: new Ext.grid.RowSelectionModel({singleSelect:false})
,enableDragDrop:true
,ddGroup:'treeDD'
}
);
pTree = new xt.TreePanel('project-tree',
{
animate:true
,enableDD:true
,ddGroup:'treeDD'
,containerScroll: true
,lines:false
,rootVisible:false
});
pTree.on('beforenodedrop', function(e){
onGridDrop(e);
e.cancel = true;
});
thanks!
I want to DragDrop from Grid to Tree.
when the browser is IE or FF,and server OS is widows, it works;
but when server is LINUX ,and browser is FF, it does not work;
grid = new Ext.grid.Grid('ticket-grid',
{
ds: ds
,cm: getColumnModel()
,loadMask : Divo.loadMask
,selModel: new Ext.grid.RowSelectionModel({singleSelect:false})
,enableDragDrop:true
,ddGroup:'treeDD'
}
);
pTree = new xt.TreePanel('project-tree',
{
animate:true
,enableDD:true
,ddGroup:'treeDD'
,containerScroll: true
,lines:false
,rootVisible:false
});
pTree.on('beforenodedrop', function(e){
onGridDrop(e);
e.cancel = true;
});
thanks!