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 column name '#' when show-index is true #214

Closed
TimChen0409 opened this issue Jan 31, 2023 · 2 comments
Closed

How to change column name '#' when show-index is true #214

TimChen0409 opened this issue Jan 31, 2023 · 2 comments

Comments

@TimChen0409
Copy link

I want to show index for per row so I set show-index to true.
The column name always display "#".
Is there any way to change it?

@HC200ok
Copy link
Owner

HC200ok commented Jan 31, 2023

Please update to the latest version 1.5.30, then you can use prop show-index-symbol to customize.

<DataTable
 show-index-symbol='##'
/>

@TimChen0409
Copy link
Author

Thanks for your help.
It is a great work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants