gen2brain / iup-go

Cross-platform UI library with native controls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table?

lthon09 opened this issue · comments

Is there anything in iup-go that does what C# DataTables do? This is an example image of what I'm trying to make:
Example Image
Thanks!

You can dynamically append iup.Text() entries inside an iup.GridBox() that is the child of an iup.ScrollBox(). However, this is excruciatingly slow - in my tests, way too slow even for moderately few entries. So I'd say No, there is currently no reasonable way if you want something halfway fast.

It might still be fast enough for your use case, though, if you only need to create the table once or experiment with re-using Text entries.

You can dynamically append iup.Text() entries inside an iup.GridBox() that is the child of an iup.ScrollBox(). However, this is excruciatingly slow - in my tests, way too slow even for moderately few entries. So I'd say No, there is currently no reasonable way if you want something halfway fast.

It might still be fast enough for your use case, though, if you only need to create the table once or experiment with re-using Text entries.

Hi, thanks for the response. I'll try to implement this or find another solution. Thanks!