RemoveRow from DataTable in blueprints?

How can I remove a row of data from a dataTable in blueprints? Is it possible?

I saw there was a way to do it in CPP: “UDataTable::RemoveRow”

Is this limited to CPP? I couldn’t find a node or function in blueprints that does the same thing,

I’m trying to check the first value in a dataTable to match another variable, and if it returns true, use the data from the dataTable then remove it (and add it back to the end of the dataTable). I imagined this would be faster than checking a bool against every element in the dataTable, since I only need to do one comparison (against the 0th element)…

Hey @charlie_p!

As of right now, as far as I know, this functionality doesn’t exist yet.

However, what you are looking for can likely be achieved by importing the data as structs and setting them in an array which can add/remove etc just fine, as well as change its members. Unfortunately for now elements of DataTables are more of a static reference document… in-variables, if you will.

1 Like

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