Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change row header column name? #11

Closed
Magenta94 opened this issue Mar 12, 2021 · 3 comments
Closed

How to change row header column name? #11

Magenta94 opened this issue Mar 12, 2021 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@Magenta94
Copy link

As you can see here https://codesandbox.io/s/festive-morning-0f7fw?file=/src/App.vue the first row header column cell takes the name of the first column header. I was expecting it to be empty at first. Anyway, how can I change it? I've tried columnTemplate without success.

image

Thanks!

@revolist
Copy link
Owner

Hello, @Magenta94
Currently, there is no way to do so in a version up to 3.0.
It's recommended to use pin column to achieve same functionality, consider it as faster and more convenient way. Row headers were introduced only as minor plugin. But in 3.0.0-beta.9 for revo-grid core this patch already present, will be released in the nearest time.

https://codesandbox.io/s/dark-surf-gmhfm?file=/src/App.vue

@revolist revolist added the help wanted Extra attention is needed label Mar 14, 2021
@Magenta94
Copy link
Author

Thanks, but with pin columns then I have to apply CSS to set the same style as the column headers, row headers have it by default. If it is possible in 3.0.0, I'll wait for that.

@revolist
Copy link
Owner

Published update in beta 3.0.0-beta.1, check it here:
https://codesandbox.io/s/elated-neumann-4ty34?file=/src/App.vue

@revolist revolist pinned this issue Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants