Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359448

Summary: Web page design view goes blank when DataGrid is dropped
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Huang Ji Yong <hjiyong>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hjiyong
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-09-29 12:02:03 EDT
Create a new RUIHandler.
Drop a DataGrid in the GridLayout.
The design view goes blank.
The source looks OK.

handler myRUIhandler type RUIhandler{initialUI =[ui
            ], onConstructionFunction = start, cssFile = "css/myRUIproject.css", title = "myRUIhandler"}

    ui GridLayout{columns = 3, rows = 4, cellPadding = 4, children = [ DataGrid ]};
    DataGrid DataGrid{ layoutData = new GridLayoutData{ row = 1, column = 1 },
		behaviors = [ ],
		headerBehaviors = [ ],
		columns = [
			new DataGridColumn{name = "field1", displayName = "Column 1 Header", width=120},
			new DataGridColumn{name = "field2", displayName = "Column 2 Header", width=120}
		],
		data = [
			new Dictionary { field1 = "Row 1, Column 1", field2 = "Row 1, Column 2"},
			new Dictionary { field1 = "Row 2, Column 1", field2 = "Row 2, Column 2"}
		]
	};

    function start()
    end
end
Comment 1 Huang Ji Yong CLA 2011-10-08 06:01:27 EDT
Resolved by something else.
Comment 2 broy2 CLA 2011-10-10 22:29:19 EDT
Verified in 201110100901 build.