[FREE] TableViewer - fully style customized to show table data

Works fine, thanks

Worked up a solution for this:

https://community.appinventor.mit.edu/t/how-can-put-color-in-tableview-if-word-yes/67188/6

image

Do you know of a better approach ?

2 Likes

[Feature Request]
With your table click function, it would be good to return the entire row text for all columns as well.

I only know this method.

for entire row data, you may use the "select list item" to pick data from original data list.

and i am considering to add a block to combine nearby cells, which will make this entire row data very complicated.

1 Like

Another example which "answers" this question:

image

so much easier :smiley:

2 Likes

I'm trying to show a csv with many columns, how can I set horizontal scroll ?
blocks(1)

Just drag left/right, should be scrollable vert/horiz automatically

[Feature request]
Sticky header row

found this:

but requires a th row.

Tried with tr:nth-child(1) but nothing happened

1 Like

Some blocks for table styling (there are 8columns, 5 to scroll to....

image

2 Likes

Thank you Tim, solved with

1 Like

With these blocks I can set the selected cell background color, how can I restore the previous color after selecting another cell? I can save row and col but the color ?

would the original colour be known, e.g. the one you set when drawing the table ?

v2 is coming, pls check first post.

now is possible. it looks like th is not necessary, but thead is.
I have add a sample at 1st post.

now it's possible to remove the style you already setup last time, just to set the value to "" (empty string) using SetStyle block, then ShowTable.

2 Likes

i can't show my table in the table viewer


@KhuBann

now "Index: 7, Size: 7
Note: You will not see another error reported for 5 seconds."

show your blocks pls,and the data to display, and are you using v2?

Opera Captura de pantalla_2022-10-11_022250_ai2.appinventor.mit.edu

and this text

and yes, i'm using v2

a picture of data can not help me a lot to debug.
please copy the data to a txt file and upload.
Have you tested other data?