PDA

View Full Version : drag/drop function



thomsonzh
10 Nov 2011, 10:56 AM
Hi,

I have an extjs line chart and grid. How can I implement drag/drop function, drag grid row and drop to chart. The line chart will show the line chart by id.

Any suggestion, many thanks

mitchellsimoens
16 Nov 2011, 12:37 PM
Make your grid be the dragzone (need to instantiate it) and your chart be a dropzone (need to instanitate it). Then capture the drop and reload the chart based on that.