Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User fother's Avatar
    Join Date
    Sep 2007
    Location
    Brazil
    Posts
    744
    Vote Rating
    -1
    fother is an unknown quantity at this point

      0  

    Default [FIXED] RC2 - Drag and Drop TreeGreed broken

    [FIXED] RC2 - Drag and Drop TreeGreed broken


    try drang and drop.. always you will see the window "Just-In-Time Debugging"
    "Just-In-Time Debugging" its a Microsoft program that allow debug javascript.

    tested in hosted mode win vista

    Code:
    public class Gxt implements EntryPoint {
    
    	public void onModuleLoad() {
    
    		Folder model = TestData.getTreeModel();
    
    		TreeStore<ModelData> store = new TreeStore<ModelData>();
    		store.add(model.getChildren(), true);
    
    		ColumnConfig name = new ColumnConfig("name", "Name", 100);
    		name.setRenderer(new TreeGridCellRenderer<ModelData>());
    
    		ColumnConfig date = new ColumnConfig("author", "Author", 100);
    
    		ColumnConfig size = new ColumnConfig("genre", "Genre", 100);
    
    		ColumnModel cm = new ColumnModel(Arrays.asList(name, date, size));
    
    		TreeGrid<ModelData> tree = new TreeGrid<ModelData>(store, cm);
    		tree.setBorders(true);
    		tree.setSize(400, 400);
    		tree.setAutoExpandColumn("name");
    		tree.setTrackMouseOver(false);
    
    		ContentPanel cp = new ContentPanel();
    		cp.setBodyBorder(false);
    		cp.setHeading("TreeGrid");
    		cp.setButtonAlign(HorizontalAlignment.CENTER);
    		cp.setLayout(new FitLayout());
    		cp.setFrame(true);
    		cp.setSize(600, 300);
    		cp.add(tree);
    
    		new TreeGridDragSource(tree);
    
    		TreeGridDropTarget target = new TreeGridDropTarget(tree);
    		target.setAllowDropOnLeaf(true);
    		target.setAllowSelfAsSource(true);
    		target.setFeedback(Feedback.BOTH);
    
    		RootPanel.get().add(cp);
    	}
    }

  2. #2
    Ext User fother's Avatar
    Join Date
    Sep 2007
    Location
    Brazil
    Posts
    744
    Vote Rating
    -1
    fother is an unknown quantity at this point

      0  

    Default


    this problem appears too in RC2

  3. #3
    Ext User fother's Avatar
    Join Date
    Sep 2007
    Location
    Brazil
    Posts
    744
    Vote Rating
    -1
    fother is an unknown quantity at this point

      0  

    Default


    you can close this issue.. in release work fine