私は Dojo を使用していますが、小さな要件があります。メモリを作成するためにストアを使用しています。このリストを Dojo データ・グリッド・ストアに設定し、それによっていくつかの行クリック機能を実行できるように、ハードコードされたリストがあります。私の問題は、ストアを設定できず、エラーが発生することです
this.headerContentNode.firstChild is null
。誰か助けてくれませんか?
コードスニペット....
postCreate : function () {
//publist, sublist etc
this._handleLogDetails();
},
//methods...
_handleLogDetails : function(){
alert("hello...h..");
var theGreatestTeamOfAllTime = [ {
"jobName":"12",
"jobId":"Jim Kelly",
"status":"QB",
"timeStamp":"0"
},
{
"jobName":"1",
"jobId":" Kelly",
"status":"B",
"timeStamp":"10"
}
];
var clientJobStore = this.jobModel.getLogStore();
clientJobStore.setData(theGreatestTeamOfAllTime);
var thisData = new ObjectStore({objectStore: clientJobStore});
this.dapJobStatusGrid1.setStore(thisData); // attach point of dojo data grid, getting an error at this point...