Adding TLF Table header

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Adding TLF Table header

Hi Guys,

I'm trying to add to the TLF Table some missing parts. TLF Header is what I
actually need. I have first questions which may leads me how to move

1) In order to create header we need to set headerRowCount and TableElement
place for us TableCellElement in headerRows array [1]
2) Next step is put that elements in place. There is BaseCompose class and
composeTableElement method [2]
Mentioned method place table cells into TextFlowTableBlock [3].

My first question is - Should I create additional TextFlowTableBlock [4]
for the header and place there all the stuff
from headerRows array?
OR Should it be in the same TextFlowTableBlock ?

[1] [2] [3]



Piotr Zarzycki

Patreon: *