Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
You need to sign in or sign up before continuing.
Commit 3ae34c7d
authored
Aug 27, 2022
by
aagusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
perbaikan detable
1 parent
0496eb0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
opensipkd/detable/templates/detable.pt
opensipkd/detable/templates/detable.pt
View file @
3ae34c7
...
@@ -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> ';
let result = "No Data"
if (data!=null) {
result = '<a href="' + url + data + '" target="_blank">Link</a> ';
}
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) {
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment