摘要:
要格式化数据表格列,需要设置formatter属性,该属性是一个函数,它包含两个参数:value: 对应字段的当前列的值record: 当前行的记录数据复制代码 代码如下:$('#tt').datagrid({title:'Formatting Columns',width:550,height:250,url:'datagrid_data.json',columns:[[{fi... 阅读全文
posted @ 2015-01-19 16:42
南宫萧尘
阅读(3886)
评论(0)
推荐(0)
摘要:
下面是我项目中和网上收集的EasyUI的表头处理的,合适的拿去用吧.例子1:$('#day_health').datagrid({ url: "sqb_bweb_day_health.aspx?mode=day_health", pagination: true, total: 2000, ... 阅读全文
posted @ 2015-01-19 15:49
南宫萧尘
阅读(25339)
评论(0)
推荐(1)

浙公网安备 33010602011771号