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

This can be achieved by CSS, like fix the head line. I will give a working example when I am available.

1 Like

Thank you

fix column 1:
fixcolumn1

css:

td:nth-child(1){background-color:red;position:sticky;left:0;}
1 Like

After applying row and column lock, the situation that (0 row, 0 column) cannot be locked appears


My building block program
TableView_test.aia (27.4 KB)

it seems that cell (0,0) can be fixed as row or as column, not same time.

After executing the ShowTable block, can the screen remain in the same position?

call ScrollTo again, smooth set to false

Is it possible to change the cell background color without using [ShowTable]?

image

two ways. Pay attension to the red circles.

1 Like

Thanks, this is exactly the answer I wanted

Is it possible to read the cell background color?

How did you set the style of the table?

I think I found a way to use the return value. I don't know JS language, so I don't know if this method is correct.

yes, but only if you set the bg color with js, otherwise it returns empty string.

1 Like

Yes, when no color is read, an empty string "" will be returned.

2 posts were merged into an existing topic: Blurry image Problem

when i tried making a table, it didn’t work and this is what happened;

I don't know how to do it, can you guys help me thanks !

Please show your relevant blocks

it seems you feed wrong input to initializing the extension you use...

Here are the very basics:

Designer: you need the extension and a layout, here I use a VerticalArrangement.

image

Blocks: Init the Tableviewer with your layout, set some data, show the table.

Companion Screen: you should see your table.

image

Aia: download this aia project to test.

tvdemo1.aia (27.1 KB)