Reputation: 15
I'm using antv s2, I have the following question, I'm trying to change the text of the content of the table, to sort either ascending or descending, but I can't find the option, does anyone know how to change it or what could be done to change that Chinese text to that I want
I attached an image of what I get
https://s2.antv.vision/examples
I hope you can help me, or at least to remove the option to order.
Upvotes: 0
Views: 284
Reputation: 16
We can set the Language using the below code: use setLang() to set to English.
import { setLang, PivotSheet } from '@antv/s2'
setLang('en_US')
Upvotes: 0