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

BeanTable creates an unwanted index column #6

Open
nbabb opened this issue Jul 16, 2024 · 5 comments
Open

BeanTable creates an unwanted index column #6

nbabb opened this issue Jul 16, 2024 · 5 comments

Comments

@nbabb
Copy link

nbabb commented Jul 16, 2024

This column appears at the start of my BeanTable

image

And I do not wish to display such a column

@TatuLund
Copy link
Owner

TatuLund commented Jul 16, 2024

In the latest version it is not there by default, but only when row index theme variant is applied. Which version you use?

@nbabb
Copy link
Author

nbabb commented Jul 16, 2024

In the latest version it is not there by default, but only when row index theme variant is applied. Which version you use?

3.1.4

@nbabb
Copy link
Author

nbabb commented Jul 17, 2024

I tried with the latest 3.1.6 and it still is showing. How do I determine if I'm using the row index theme variant?

Also, it seems inconsistent. Sometimes it shows like
image
and others like
image

@nbabb
Copy link
Author

nbabb commented Jul 17, 2024

I tried a very simple example, with 3.1.6, and this code

        testTable = BeanTable(String::class.java, false).apply {
            this.addComponentColumn("Dogs", {Div(it)})
            this.setItems("Lab", "Poodle")
        }

produces this table, with the unwanted row index column.
image

@TatuLund
Copy link
Owner

Can you try again with 3.1.7?

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