Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359448 - Web page design view goes blank when DataGrid is dropped
Summary: Web page design view goes blank when DataGrid is dropped
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Huang Ji Yong CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 12:02 EDT by broy2 CLA
Modified: 2017-02-23 14:16 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.