Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Change DataTables labels language at runtime #476

Closed
@cluka

Description

@cluka

Hi, I am using DTDefaultOptions.setLanguage() to set current language.
this work ok.
Now iI want to change the default language at runtime when i select the language from the drop-down list. So how to tell datatables to change the language for all grids?
If I do DTDefaultOptions.setLanguage() and pass the new language json at that point, it does not work until I refresh the entire application (F5 in browser)

Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions