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

are you using latest ai companion? did you used other extension? what's your blocks?

Update the [MIT AI2 Companion] in your phone and it will be fine....Thank you

How to set the first column as the table header

:question:

Do you mean row ? If so read the topic from the beginning, it is all there.

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.