Added an option to create footers in the table component #862
Added an option to create footers in the table component #862lovasoa merged 8 commits intosqlpage:mainfrom
Conversation
|
Could we simplify things by introducing a new row-level property So that we could do select 'table' as component;
select col1, col2 from my_table;
select true as _sqlpage_footer, sum(col1) as col1, sum(col2) as col2 from my_table; |
|
Sure thing! I actually think that we could even work around the requirement of the footer being the last row, since any table can have multiple |
spacing
minor, removed a `~`
|
I implemented the requested change trying to keep the total modifications from the original code as little as possible. |
|
thank you @francesco-cattoglio ! |
As per issue #860 this pull request implements two new parameters for the table component:
first_row_is_footerandfreeze_footers