revogrid icon indicating copy to clipboard operation
revogrid copied to clipboard

Rename column functionality

Open html5maker opened this issue 2 years ago • 3 comments

Is there any way to add the "rename column" functionality to the revogrid?

html5maker avatar Feb 26 '22 13:02 html5maker

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.

revolist avatar Mar 06 '22 22:03 revolist

I mean to add this option to the UI (like ... dropdown menu with the rename option) for each column

html5maker avatar Mar 06 '22 22:03 html5maker

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 image

you can create context menu by right click (on grid - on header) by yourself: image

van-huyen avatar Mar 07 '22 01:03 van-huyen