Multi-column tables in M2Doc

I’ve been able to generate multi-row tables with a fixed number of columns like shown below:
Is it possible to generate multi-column and multi-row tables with, for example two nested ‘for’ statements?

2020-03-06 09_18_46-aircraftm2doc.docx - Modo de Compatibilidade - Word.png
2020-03-06 09_18_46-aircraftm2doc.docx - Modo de Compatibilidade - Word.png

It’s not possible with two for statements, you will have to create a Java service that return a MTable. In this service you can write Java code to generate the table.