Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add data renderer "anchor" #552

Merged
merged 6 commits into from Sep 27, 2022
Merged

Add data renderer "anchor" #552

merged 6 commits into from Sep 27, 2022

Conversation

WinterSilence
Copy link
Contributor

"anchor" renders the column data as HTML anchor.

This renderer more flexible than hyperLink:

  • also supports phone numbers and emails
  • can set inner text by data
  • can customize tag attributes

@AllanJard
Copy link
Contributor

Like it! Thanks for submitting this. Are you happy for it to be included and distributed under the MIT license?

@WinterSilence
Copy link
Contributor Author

@AllanJard is redundant question, repo contributers accept license

@WinterSilence
Copy link
Contributor Author

@AllanJard offtop: renderer must return string or HTMLAnchorElement/jQuery object too allowed?

@AllanJard
Copy link
Contributor

Currently a string.

@WinterSilence
Copy link
Contributor Author

@AllanJard Are you happy for it to be included and distributed under the MIT license? ✔️

@WinterSilence
Copy link
Contributor Author

@AllanJard we waiting something?

@AllanJard AllanJard merged commit bd3bfcc into DataTables:master Sep 27, 2022
@AllanJard
Copy link
Contributor

Nope - just me remembering to do it! Thanks for the PR!

@WinterSilence WinterSilence deleted the patch-1 branch September 27, 2022 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants