var diverType = { Rows: [{ "int_value": 1, "str_value": "少发(-)" }, { "int_value": 2, "str_value": "破损(-)"},{ "int_value": 3, "str_value": "生锈(-)" }],Total: 3 };
var diverTypeList = diverType.Rows;
{ display: '差异类型', name: 'diver_type', width: 100, type: 'float',editor: { type: 'select', data: diverTypeList, valueField: 'diver_type', textField: 'str_value'},
render:function(record,rowindex,value,column)
{
for(var i=0;i<diverTypeList.length;i++)
{
if(parseFloat(record.allocatedqty) =