0
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)
코드를 실행하면 'storeRecord is undefined'라고 표시됩니다.Ext.JS 상점 레코드가 정의되지 않았습니다.
무엇이 원인 일 수 있습니까?