Trying to dynamically load buttons based on datatables

Try this:

Since you are working with an editor widget, you should use CondtructObjectFromClass instead of CreateWidget. Also, you add a child to the panel after the loop is executed, which means it only happens once with the last element of the array.

My Products

1 Like