2

I want to build a Table with many columns (20) and many rows (100), so some columns would be invisible due to the screen's width.

I choose to use ListView for this, but how to make user see the invisible columns, I'd like the table fix the first column, and user can horizontally scroll the other columns in this listview.

is there any 3rd lib for this? How can I do this?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
virsir
  • 15,159
  • 25
  • 75
  • 109
  • Why don't you use a `TableLayout` with vertical and horizontal scrolling? http://stackoverflow.com/questions/7266787/tablelayout-scrollview-vertical-horizontal – Squonk Mar 22 '13 at 00:47
  • TableLayout is not good, if we have too many rows, it eats too much memory. – virsir Mar 22 '13 at 01:36
  • What about ViewPager? Each column can be a list view in a fragment (so you see only a column per screen) and you can go to side columns through sliding to right or left. I've implemented something like that in something like a supermarket app: you have departments (columns) and a list of products per department. Sliding to the sides gave to users a shortcut to another departments as if they were 'walking' in a real world supermarket. – JPMagalhaes Mar 22 '13 at 06:10

0 Answers0