revogrid
revogrid copied to clipboard
Rename column functionality
Is there any way to add the "rename column" functionality to the revogrid?
Hello, not very clear what is rename column, but it is simple as just mutate RevoGrid.columns = [...columns] with new names, all things are sort of reactive.
I mean to add this option to the UI (like ... dropdown menu with the rename option) for each column
In Vue2 (i18n nuxt app) to change columns name when language change: i fill col name in mouted() by i18n defined and update them like RevoGrid.columns = [...columns]
if you user want to rename columns, save it in locationStore and update them like i18n
you can create context menu by right click (on grid - on header) by yourself: