Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net Ext.JS存储记录未定义_Asp.net_Asp.net Mvc_Vb.net_Extjs - Fatal编程技术网

Asp.net Ext.JS存储记录未定义

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.

当我运行代码时,它会显示“storeRecord未定义”


这可能是什么原因?

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)