Copy grid properties to another Grid

Hi I need to copy grid properties, to another grid, easily, that’s possible?

It is to multiply the grid with all its data, rows, everything, absolutely everything.

Clearly it needs a new hash, or am I wrong?

Everything is to be done in memory, the grid that is intended to be duplicated is simply to be added in a VerticalLayout.

You can create the second grid exactly like the first one by extracting the configuration to a method and calling the method with another grid as parameter again?


Well, that’s what I’m trying to do right now.

because the logic that the code has, is practically that, it forces me to use methods from the original grid.

It’s hard for me.