| Summary: | DojoSample: Dojogrid is not displayed if columns are not specified | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Tony Chen <chenzhh> | ||||||
| Component: | EDT | Assignee: | Yun Feng Ma <mayunf> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | hjiyong, mayunf, svihovec | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Tony Chen
Changing to Website, which is what we are using for Samples. If this issue is a widget issue, please re-route to Widgets. If the issue is in the sample, we have more time to resolve the problem, since the samples are not shipping with EDT .7. Set component to widget because the scenario can be recreated in a new handler. Can you provide a screen capture for this issue? Does this issue occur in RBD? Is it something we must fix for EDT .7? (In reply to comment #3) > Can you provide a screen capture for this issue? Does this issue occur in RBD? > Is it something we must fix for EDT .7? ---GL Code--- handler h2 type RUIhandler{initialUI = [ Box ], onConstructionFunction = start, cssFile = "css/test.css", title = "h2"} Box Box{ padding=8, children = [ grid ], width = 500 }; Grid DojoGrid{ behaviors = [ ], headerBehaviors = [ ], 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 Created attachment 207310 [details]
screen shot in EDT
The same code worked in RBD, displaying a grid using "field1" and "field2" as column names. deferring - not an important scenario. Created attachment 208421 [details]
Patch
Here is a patch. Thanks.
Ji Yong, please review the patch. Thanks. I think the fix is OK Fix is in now. Thanks. Verified in Version: 0.8.0.v201201152102-1CT-Fiv5_M5_LOR6Ka4 |