InQBarna / TableFixHeaders

Android library that implements a table with fixed headers.
Apache License 2.0
818 stars 300 forks source link

How to add more that one header. #109

Open O6e36ashenII opened 7 years ago

O6e36ashenII commented 7 years ago

Hello, your lib is perfect. But i can't find how i can add more that one header. I have big table, and i need to set more that one header. How i can do this.For example i need to start from row = -3, column = -3, all negative rows and columns must be scrollable.

BraisGabin commented 7 years ago

You can't do it right now. You must edit the library to add that behaviour. Or you can create a view that seems 3 views.

Related with #104, #101, #54

O6e36ashenII commented 7 years ago

I trying implement this in TableFixHeaders. I can't find this. Can you show me in code TableFixHeaders, to have first row and column -2 -2.

BraisGabin commented 7 years ago

There isn't in the code. You must modify the internal code of TableFixHeader to do that. Right now just one header is hardcoded in the view. I didn't think in that use case when I developed it.

O6e36ashenII commented 7 years ago

image Look this is how my table must be. Maybe you can show me how do change scrollable rows. Will be good if first four rows will be scrollable. Or give me examplse were i can change it to my value. It will helps me

BraisGabin commented 7 years ago

It's not trivial how to accomplish that table with this view. You must reimplement this class https://github.com/InQBarna/TableFixHeaders/blob/master/library/src/main/java/com/inqbarna/tablefixheaders/TableFixHeaders.java

I can't give you more hints. You must read it, understand it and then modify it. You want more fixed views and span some columns.

mantosh9641 commented 6 years ago

Hi BraisGabin your explanation is awesome but i have need design like this,How this is possible ,please help me . Book1.xlsx

mantosh9641 commented 6 years ago

Actually i need yellow section also with various text. untitled