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

How to add link to files? #63

Open
Shiffalikansal opened this issue Sep 16, 2016 · 1 comment
Open

How to add link to files? #63

Shiffalikansal opened this issue Sep 16, 2016 · 1 comment

Comments

@Shiffalikansal
Copy link

When i click on the file in treeview then i want that some other html page should open. So i want to add link to each file(childnode) in json itself and the use it in html page?

@awadhesh22791
Copy link

Yes it is possible to do this by editing tree view library and add anchor tag with href as follows

Define function as follows
$scope.getLinkToRedirect=function(){
return url;
}

This will place required link on href.

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

No branches or pull requests

2 participants