zoukankan      html  css  js  c++  java
  • renderer:function参数介绍

    转载自:http://blog.sina.com.cn/s/blog_9eaf28f90101b7y3.html

    1. renderer:function(value, cellmeta, record, rowIndex, columnIndex, store){
    2. }
    3. 1.value是当前单元格的值
    4. 2.cellmeta里保存的是cellId单元格id,id不知道是干啥的,似乎是列号,css是这个单元格的css样式。
    5. 3.record是这行的所有数据,你想要什么,record.data["id"]这样就获得了。
    6. 4.rowIndex是行号,不是从头往下数的意思,而是计算了分页以后的结果。
    7. 5.columnIndex列号太简单了。
    8. 6.store,这个厉害,实际上这个是你构造表格时候传递的ds,也就是说表格里所有的数据,你都可以随便调用,唉,太厉害了。
  • 相关阅读:
    微信分享
    angular 2
    angular 2
    angular 2
    angular 2
    ionic android升级检查
    ionic andorid apk 签名, 查看签名MD5
    微信支付 python版
    CSS3
    ionic 常见问题
  • 原文地址:https://www.cnblogs.com/zrui-xyu/p/4883088.html
Copyright © 2011-2022 走看看