ARG! They did it again! They changed something without documenting it!
Ok, now that I’m back in the dojo business, I’ve had yet another taste of configuration management pain. For some reason, the DataGrid is back to using the old verbage. Don’t bother with editorClass, etc.
Here is my basic attempt at a grid definition. Code follows below…
var detail_view = {
cells: [[
{name:"Date Time", field: "STAMP", width: "90px",editable:true,
cellType:"dojox.grid.cells._Widget",
widgetClass: "dijit.form.ValidationTextBox"
},
{name:"workout", field: "WORKOUT_NAME", width: "100px"},
{name:"Rounds", field: "ROUNDS_METRIC", width: "65px",editable:true},
{name:"Time", field: "TIME_METRIC", width: "65px", editable:true},
{name:"Reps", field: "REP_METRIC", width: "65px", editable:true},
{name:"Weight", field: "WEIGHT_METRIC", width: "65px",editable:true},
{name:"Points", field: "POINTS_METRIC", width: "60px",editable:true},
{name:"Notes", field:"NOTES", width:"110px",editable:true}
]]
};
var detail_layout = [ detail_view ];
