Open stevandric opened 7 years ago
I have tried to set the "total" string of footer by accessing data table's messages array. This worked for me.
this.ngxdataTable.messages.totalMessage="totalnew"; this.ngxdataTable.messages.selectedMessage=""
@anisharknair hi where type this code
@ehsanshrz You can refer to https://github.com/swimlane/ngx-datatable/issues/1116
I'm submitting a ... (check one with "x")
Current behavior String "total" in the footer of datatable can't be changed outside ngx-datatable
Expected behavior Set any string instead of string "total" outside ngx-datatable
Reproduction of the problem
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Table version: 0.8.xb
Angular version: 4.3.6
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5]