UI Data Table Issues

Hello,
I’m facing an issue into one of my widget, i add some datas using the data tables, but this issues appear :

there is issue about using 2 data tables in same time into UI widgets ??
it is very comfortable to use CSV files to manage 400+ cities and countries.
So i try to use Raw numbers as index for adding at the widget the correct informations (Region, Country, ISO, City, Flags…)

Can you try disconnecting those 2 light blue Data Table pins and select the relevant DTs from the dropdowns:

image

Does this remove the error?

1 Like

you can also try printing out your row handle to see if it’s being set correctly, maybe you have a defaults problem (before getting the row), or print out something in the “row not found” execution pin

as Everynone stated, setting your tables manually in those node may help, or it may not

1 Like

Issue resolved, i’ll keep this interreting debbuging process to my workflow, have you any idea about this bug ??
Is it caused by the breaking process (pins) ?

in fact as showed upper, the first DT_Countries work fine, but the second doesnt seem to initialize, the solution from our HERO Everynone work, i would like to know why this happend, for the future. thank you for the repsonse by the way

Type propagation in BPs is imperfect, the order in which you connect nodes will occasionally matter, and will manifest in what can be only described as confusion.

With a variable dictating type output of a node, the editor will sometimes get confused - that’s my guess.

Not sure how to replicate what you’ve got there.

2 Likes

wow!

we use datatables regularly in our project (core mechanics data is stored in datatables), I had forgotten that you had to cast to the struct type if you passed the datatable reference as well to that node, it’s good to know that it may fail randomly… thanks for the heads up

at least I haven’t encountered something like this in C++ (where you DO have to cast the struct type)

1 Like

@Everynone , @imblackmagic1 ,

Thank you guys for your time, now it work, yes in c++ the job is sightly differents, im in the design part of my project.