Asp.net Ext.JS存储记录未定义
当我运行代码时,它会显示“storeRecord未定义”Asp.net Ext.JS存储记录未定义,asp.net,asp.net-mvc,vb.net,extjs,Asp.net,Asp.net Mvc,Vb.net,Extjs,当我运行代码时,它会显示“storeRecord未定义” 这可能是什么原因?Store.getAt要求对其内部集合进行索引。你的意思是这样吗?Store.getAt要求它的内部集合有一个索引。你是说相反吗 var debtProtectionId = 0 // get the selected id of debt protection dropdown if (mainPanel.generalPanel.calculationsFieldSet.debtProtection.
这可能是什么原因?
Store.getAt
要求对其内部集合进行索引。你的意思是这样吗?Store.getAt
要求它的内部集合有一个索引。你是说相反吗
var debtProtectionId = 0
// get the selected id of debt protection dropdown
if (mainPanel.generalPanel.calculationsFieldSet.debtProtection.getValue() != '') {
debtProtectionId = mainPanel.generalPanel.calculationsFieldSet.debtProtection.getValue();
}
// get the store record with this id
var storeRecord = planCombinationsStore.getAt(debtProtectionId)