dohooo / react-native-table-component

🌱Build table for react native
MIT License
733 stars 189 forks source link

content based width and fill avaliable space #123

Open sammysium opened 4 years ago

sammysium commented 4 years ago

Great component but I am having issue with sizing. First,

image

My first issue is that the Table don't occupy the container. How can I make it fill up the container (yellow background) in all screens?

And secondly, in the above image, I am using widthArr but that won't for me since I use translations that can be long or short and flexArr don't seem to have any effect. Is there a way to make the headers at least adjust to the content width-wise? I am using example 2 from the library as it is.