luoxiaolei

场景:设置某一列的值,但是需要获取其他列的值

{"header": \'<s:property value="name" />\', "width": 110, "sortable": true,"dataIndex": \'<s:property value="code" />\',
  "renderer":function(id,metaData,record){   return record.get("otherPropertyName"); } }

方式一:

record.data.propertyName

方式二:

record.get("propertyName")

参考链接:

https://docs.sencha.com/extjs/2.3.0/#!/api/Ext.data.Record

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
  • 2021-11-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-04
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案