Hello,
I am actually adding a dashboard in my application and am using this great chart add-on. I also need to add drag and drop feature to the dashboard and am using the add-on from Jean-Christophe Gueriaud (sortable-layout - Vaadin Add-on Directory). But when I drag and drop the component, it becomes invisible but the component is still there.
//Use vertical layout to contain the SOChart object
SOChart soChart = buildChart();
VerticalLayout chartLayout = new VerticalLayout();
chartLayout.add(soChart);
//to use the drag and drop add-on
VerticalLayout dashletLayout = new VerticalLayout();
dashletLayout.add(chartLayout);
SortableLayout sortableLayout = new SortableLayout(dashletLayout);
verticalLyoutContainer.add(sortableLayout);
When I run, the chart is displayed. But it disappears after I drag and drop. Other dashlet containing a list object can be dragged and dropped correctly. Can anyone please tell me what is wrong?