Skip to content
This repository was archived by the owner on Apr 1, 2022. It is now read-only.

Possibility to pass a function as title or label. #81

Closed
wants to merge 1 commit into from

Conversation

g-adolph
Copy link

The main goal of this request is to be able to use vue-i18n in any table header.

@kenberkeley
Copy link
Collaborator

i18n is an independent function and it has nothing to do with Datatable

@kenberkeley
Copy link
Collaborator

@g-adolph
Copy link
Author

Sorry, I mentioned the i18n to give as an example of use. In fact the great benefit is if you have an external source to set your titles, they are no longer static, since use title as a string generates a static string.

@kenberkeley
Copy link
Collaborator

it always has a translation map...

@kenberkeley
Copy link
Collaborator

so you dont really need to integrate Datatable with i18n

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants