Internationalization for Datatable header.
Internationalization for Datatable header.
thaneswar
Posts: 1Questions: 1Answers: 0
Hi ,
I am using angular datatable, i have initialized the columns in ngOnInIt() as shown in the code:
ngOnInit(){
this.model.columns = [{
title: 'xyz', // **Need to use the internationalization for the column title **
data: 'XYZ',
render: function (data, type, row, meta) {
return data === null ? '-' : data
}
}],
}
I want to use the internationalization for the column title, But i could not find the proper solution.
Can you please help me on this.
This discussion has been closed.
Answers
What internationalisation library (if any) are you using? You'd need to consult its API and replace your
xyz
string with that.Allan