vandeseer / easytable

Small table drawing library built upon Apache PDFBox
MIT License
246 stars 94 forks source link

easytable example where I can include nested rows in a table based on data #69

Closed vikramtambe closed 4 years ago

vikramtambe commented 4 years ago

I have a requirement where I need to add dynamic rows to existing table if nested data exists. e.g. I have parent note and people can reply to parent node which will become a child note. people can reply to child note etc.

image

vikramtambe commented 4 years ago

As of now i am able to generate table which will have only one parent note. Trying to figure out solution where i can added replies to parent node within same row. please let me know your comments.

vandeseer commented 4 years ago

Sorry @vikramtambe, but from my point of view this is nothing specific to easytable but a general programming question of yours. Therefore I would suggest to ask this question on a programmer's forum like stackoverflow.

In theory you can also create recursive structures by using a table within a table cell like so: https://stackoverflow.com/questions/59959873/pdf-easytable-may-i-insert-table-within-cell/60101301#60101301