📜  将图像插入数据表 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:33.284000             🧑  作者: Mango

代码示例1
$('#matchOrderedTable').dataTable({
    "ajax": {
        "url": TippNett.Api.Url + "Match/DataTable",
        "data": function (d) {
            d.token = authToken;
        }
    },
    "columns": [
        { "data": "Created" },
        { "data": "Amount" },
        { "data": "OrderOrg" },
        { "data": "OrderMatchedOrg" },
        { data: 'OrderLoc',render: function (data, type, row, meta) {
                return '';
              }
            },
        { "data": "OrderMatchLoc", render: getImg }
    ]
});