PDA

View Full Version : Drag drop is not working in table layout



ashwanipandey14
17 Jan 2011, 5:27 AM
/////i want drag drop functionality in layout:'table' in below code. urgent .!!


Ext.onReady(function(){
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());



var panelTest=new Ext.Panel({
renderTo:div1,
layout:'table',
layoutConfig: {columns:2},
// applied to child components
defaults: {removeMode: 'container', hideParent: true},
xtype:'portal',
items:[
{
title: 'Summary Statistics',
layout:'fit',
width:400,
items: new Grid2([0, 1])

},{

title: 'Quick View',
layout:'fit',
width:400,
items: new SampleGrid([0, 2, 3])


},
{

title: 'Alert',
Layout:'fit',
tools: tools,
items: new SampleGrid([0, 2, 3]),
colspan:2,
width:800

}
]
});

});

20 Jan 2011, 6:46 AM
the table layout is not dynamic to allow drag an drop. Your code does not have an ounce of drag and drop code in it. Please do not start your threads with "I want".

ashwanipandey14
20 Jan 2011, 9:31 PM
I have done my drag and drop requirement with column layout, with customisation on our Myportal.js .


Thanks,

Ashwani