Skip to content

Commit

Permalink
code>modify.refactor: change URL column formatter into link
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnfan committed Jun 18, 2023
1 parent 5801a22 commit b8aae08
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions js/tagmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,10 @@ function createTable() {
title: "URL",
field: "url",
width: "15%",
formatter: "textarea",
cellClick: function (e, cell) {
window.open(cell.getValue());
formatter: "link",
formatterParams:{
labelField:"url",
target:"_blank",
},
frozen: true,
headerHozAlign: "center",
Expand Down Expand Up @@ -489,7 +490,7 @@ function createTable() {
{column: "github_repo_info.time_last_commit", dir: "desc"},
],
pagination: true,
paginationSize: 1000,
paginationSize: 10000,
paginationSizeSelector: [100, 1000, 10000, 100000],
paginationCounter:"rows",
});
Expand Down

0 comments on commit b8aae08

Please sign in to comment.