Use the ClearTable block? You should not need to init again.
I have replicated what you reported, only if you set the container's height as automatic.
Maybe I can add a runjs function, you can get the height of the table by js, then adjust the container's height if needed.
Hi guys (@TIMAI2 and @Kevinkun).
ClearTable sounded like a good idea, but it did not help unfortunately.
Yes, my container (an vertical arrangement) is set to height=automatic.
After reducing the amount to rows to be displayed, space is not adjusted to the new height.
But I would not see any other alternative than height=automatic.
And to display the table in a VA is also correct, right?
ClearTable doesn't change anything, but using .Init layout fixes it for me....
made a video, first run through is without init, second run through with init.
You are right! Works for my now also with .Init.
Previously, I tried to make the init somewhere else in my loop and there it did not work strangly.
But now it is fine, even with height=automatic.
Thanks!
Hello
How do you add to the tableview?
This is an example of what I have been trying.
This work
This is what I have a problem with will not add the next row.
Thank you
item of the match_a_stat should be a list .now you add a string to it.
Hello
You mind showing an example? I am not understanding
Thank you
I think your misunderstanding is that you want to use "list" like a database or like a table, but a list only can hold 1 set of values, comma-seperated. One "row" basically.
I think, you should start using a database like TinyDB to store your entries.
Then loop over that database to read those entries and move them to the Tableviewer.
remove \n from the Join block.
also possible but then he has ONE line in the table, right?
Thank you for all the feed back
The problem with using TinyDB is the information changes quite often, I have tried doing the Tag > Match 1 > (Insert Information here) but I haven't been able to wrap my head on how to properly do it. So I have been thinking about adding TinyBD per match and just changing the Namespace.
Would be much easier if once the app loads it adds the top row (<-- I have it like this now) and as the game progresses it just adds the next row and so forth.
I also have 5 different ones.
Any of then can go up to 25 row if not more while the others can go to only 3 rows.
So after each round it adds a row with the stats of both players
Any suggestions would be greatly appreciated
Hello
Ok so maybe someone can take a look at this and tell me what I am missing.
So when I open the app it opens fine the table is white so it looks strange with a white background
I click populate to test and it loads on the second row (Perfect)
I click populate again to keep testing and it loaded on the top row.
Thank you
Why not just work with AI2 lists instead of all that extra work with csv format handling?
Hello
AI2?
Hmmm this was flagged as spam LOL
Hello
Thank you
You are a genius this is what I have been tiring to do.
I for some reason thought when you do make a list it would delete the current list and make a new one.
I wish this would come as easy to me LOL
Thank you
V6 UPDATE
- SetStyleSheet now can accept url to an external css file.
- add SetClass block, which can set class to a tag or id selector
- add ClearStyle block, which can clear all styles, including the native basic style(table border)
- bring back ShowTable. since this will greatly enhance the performance of the extension.
- add RunJs function and AfterRunJs event.