-
Notifications
You must be signed in to change notification settings - Fork 137
Added an option to create footers in the table component #862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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_footer
andfreeze_footers