Examples for creating formatted tables

Hi, are there any examples that show how to use docx4j to create formatted tables? I am looking to create tables that have cells with different background colors etc. tx.
forums
https://www.docx4java.org/forums/
https://www.docx4java.org/forums/docx-java-f6/examples-for-creating-formatted-tables-t97.html
I have written a utility class to create tables easily. Will post the code after I clean it up.
pro-tbl wrote:How can i get the table styles?
pro-tbl wrote:Is docx4j has any API to give all the table styles (including the cells) as a CSS class which is like handling P and R now?
pro-tbl wrote:And MainDocumentPart.getStylesInUse needs to be modified to take note of styles used in table.