evrencoskun / TableView

TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
MIT License
3.14k stars 459 forks source link

Toggle column visibility confusion #276

Open S1LL opened 4 years ago

S1LL commented 4 years ago

And I one more thing I gotta ask. Im trying to implement like a toggle visibility of all columns.

I have a dialog with checkboxes for all columns. And it works nicely if I try to toggle for example column with index 3 (uncheck - hide, check - show). But when I hide column 1 and then column 3 it hides column 4, because column3 is already on index 2 I suppose. Is there a way to achieve this toggle functionality?

Thanks

evrencoskun commented 4 years ago

Hi @S1LL It seems that TableView is ignoring the previous hidden rows or columns on showing/hiding process. I've fixed the problem. But you need to wait for the next release to achieve this toggle functionality.

S1LL commented 4 years ago

Hi @evrencoskun , awesome. I'll wait no problem. Thanks for continued support of this amazing library. And if you could look at the other issue I filled (with the column types). I think that is small bug also.

jcbeukes commented 4 years ago

Hi @evrencoskun Super cool lib! Just a small issue I have the same issue with hiding multiple columns. When I do manage to multiple columns I'm not able to show them again due to the indices not working correctly. Any idea when the next release will be available?