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

Translate header #210

Open
alfredobarron opened this issue Feb 10, 2016 · 3 comments
Open

Translate header #210

alfredobarron opened this issue Feb 10, 2016 · 3 comments

Comments

@alfredobarron
Copy link

How to use angular-translate in header table in ng-tasty?

@studentIvan
Copy link

Maybe u can do it manual right into your controller?

@alfredobarron
Copy link
Author

I did it like that, but I want know if exist best way

@wandroll
Copy link

wandroll commented Nov 16, 2016

I'd use a custom template for the header :
<thead tasty-thead template-url="app/templates/custom-thead.tpl.html"></thead>

Assuming you're using angular-translate :
Your template should look like the default template but you'll have to replace ng-bind with translate directive : `

`

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

3 participants