Creating a dynamic UI with GridContainer (example GIF included)

Godot Version

Godot 4.2

Question

example_UI

I think it is a lot easier to simply show what I want to do. As seen above, I have an application that I wanted to try and learn on how to replicate using Godot. Here are some interesting features that I am trying to replicate:

  1. Dynamic header size
    • As seen from the video, you can dynamically resize the headers of each data type (e.g. timestamps) to whatever size you want
  2. Rows of data population
    • When the serial data is received, for different types of Data ID, it will populate if into different rows, as seen in the example GIF.
  3. Data expansion
    • The data can be expanded to show more information about the data source and the different bit representation that comes from the serial data.

Things I have attempted

So, I have tried a few attempts in replicating this feature where I have essentially tried using GridContainer which should give me the capabilitites of writing the header on the first row of the container. Following rows are then populated with different data ID. However, I cant dynamically resize a single column for instance, with the use of grid container (unless I am not doing it right)

https://www.reddit.com/r/godot/comments/175zyp2/how_do_i_create_a_table_in_godot/

I am assuming this is an addon? I was initially thinkig of writing my own addown that would fit my purpose, but I was wondering if there would be better ways of doing it with the current nodes we have in Godot.

If not, I think it would be an interesting feature that I’d potentially want to personally add into Godot!

there might already be a proposal for that, always can do a proposal if you find it really needed for many people. For now, people uses assetLib Plugins to share their works like that, because it’s not officially added to the engine, yet. i don’t think Unity even have the Table function natively, because it’s c# language engine, need confirmation

Thanks for pointing out the table feature, it did not came to my mind to search for a table-like feature in Godot. For now, I think I potentially have two options I can go for:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.