cancel
Showing results for 
Search instead for 
Did you mean: 

AddRecords function to dynamically add records to a table, similar to AddColumns function

Today there is no data flow, non-imperative way to add records to a table.  There is no record/row equivalent of the AddColumns function.

 

Please add an AddRecords functions that enables:

 

Gallery1.Items = AddRecords( [ 1, 2, 3 ], { Value: 4 }, { Value: 5 } )

 

This can be accomplished today with:

App.OnStart = ClearCollect( Numbers, [ 1, 2, 3] )

Button1.OnSelect = Collect( Numbers, { Value: 4 }, { Value: 5 } )

Gallery1.Items = Numbers

 

But this is inferior:

  • It depends on imperative logic
  • It requires an in memory state variable, the Numbers collection, taking up space
  • The author must manually manage this state variable
Status: New