It's all about the answers!

Ask a question

problem while creating a grid in web UI

vinay reddy (171205) | asked Feb 18 '09, 7:07 a.m.
I'm able to find only the headers of the grid but not the data. Can some one suggest what the problem is? Did I miss any grid specific css files or any other dojo.require statements? Is it the case that the syntax of the data is wrong?


var PlatformUI = net.jazz.ajax.ui.PlatformUI;

dojo.declare("", , {
//templateString: "<div><div>test </div></div>",

templatePath: dojo.moduleUrl("com.example.capmgmt.web", "ui/internal/page/templates/ViewPlan.html"),
//templateCssPath: dojo.moduleUrl("com.example.capmgmt.web", "ui/internal/page/templates/ViewPlan.css"),

postCreate: function(){
var ActionRegistry = PlatformUI.getWorkbench().getActionRegistry();
ActionRegistry.registerAction("com.example.capmgmt.web.view", this, "view");
initialize: function(){

this.gridStructure = ]

this.gridData = ,


console.log("printing grid data");

this.icemodel = new,this.gridData);

console.log("printing model");

this.grid = new dojox.Grid({
model: this.icemodel,
//clientSort: "true",
style: "width: 100em; height: 150em;background:lightgreen;",
structure: this.gridStructure


console.log("printing grid");


11 answers

permanent link
Matthew Jarvis (2411) | answered Mar 05 '09, 12:08 p.m.
Great. Glad you were able to track down the problem. Let me know if there is anything else I can do to help.

Matt Jarvis
Jazz Foundation, Web UI Frameworks

Your answer

Register or to post your answer.