我想在backgrid中添加一个列字段来显示img和其他与该用户相关的信息。在
var columns = [
{ name: "id", label: "Id", cell: "integer",editable: false },
{ name: "active_image", label: "Image", cell: "uri",editable: false },
{ name: "worker_id", label: "Worker", cell: "string",editable: false },
{ name: "city", label: "City", cell: "string",editable: false }
];
我建议你输入新的单元格图像。然而,最简单的解决方案是扩展基本
Backgrid.Cell
:这里的render函数相当简化(并且没有经过测试),只是为了说明如何操作。
相关问题 更多 >
编程相关推荐