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

piotrz
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
forward.

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] https://bit.ly/2uB7yPJ [2] https://bit.ly/2LmgBOe [3]
https://bit.ly/2O5jVfo
[4] https://bit.ly/2mx8oc5

Thanks,

--

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*