0

I am looking to dynamically add hyperlinks to a DataTable table fields while pulling the tables data from a .txt file. Is there a way to do this or am I missing something?

The DataTables docs are at: datatables.net

Here is my code and .txt data so far:

enter image description here

enter image description here

enter image description here

2
  • 1
    Column render functions can help with that - go to the example section and look at the 4th example. Also see I want to create links in record fields in DataTables from JSON data. There are various approaches presented there, including the column render function. If none of those meet your needs, maybe you can clarify with a specific example? Commented Mar 13, 2021 at 20:53
  • That's perfect. Fourth example worked like a charm! Thanks Guy. Commented Mar 13, 2021 at 21:03

1 Answer 1

0

Column render functions can help with that - go to the example section and look at the 4th example. Also see I want to create links in record fields in DataTables from JSON data. There are various approaches presented there, including the column render function. If none of those meet your needs, maybe you can clarify with a specific example? – andrewjames

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.