You need to sign in or sign up before continuing.
Commit 3ae34c7d by aagusti

perbaikan detable

1 parent 0496eb0e
...@@ -79,7 +79,10 @@ ...@@ -79,7 +79,10 @@
} else if (${tableid}Columns[co].hasOwnProperty("url")) { } else if (${tableid}Columns[co].hasOwnProperty("url")) {
let url = ${tableid}Columns[co].url; let url = ${tableid}Columns[co].url;
${tableid}Columns[co].render = function (data) { ${tableid}Columns[co].render = function (data) {
let result = '<a href="' + url + data + '" target="_blank">Link</a>&nbsp;'; let result = "No Data"
if (data!=null) {
result = '<a href="' + url + data + '" target="_blank">Link</a>&nbsp;';
}
return result; return result;
} }
} else if (${tableid}Columns[co].data === "id" && ${tableid}Columns[co].action === true) { } else if (${tableid}Columns[co].data === "id" && ${tableid}Columns[co].action === true) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!