PSWriteHTML icon indicating copy to clipboard operation
PSWriteHTML copied to clipboard

totals row

Open geraluca opened this issue 2 years ago • 5 comments

a question, having to create a report with data taken from a database, I collect the data and then I should report a line with the totals below, in the footer where the column titles are shown as at the beginning, I would like to replace them with other titles and then add the totals but separated from the data rows so as not to create confusion, is this possible? Thanks in advance

geraluca avatar Dec 01 '23 18:12 geraluca

It's not implemented as far as PSWriteHTML goes but I guess you would like something like this:

  • https://datatables.net/examples/advanced_init/footer_callback.html

Here's alternative:

  • https://live.datatables.net/zuzaxute/3/edit

PrzemyslawKlys avatar Dec 01 '23 19:12 PrzemyslawKlys

total I meant as in the example image

geraluca avatar Dec 01 '23 20:12 geraluca

Sure, not implemented.

PrzemyslawKlys avatar Dec 01 '23 20:12 PrzemyslawKlys

OK, too bad. Two other simple questions, a) how to set the rows to be shown to 25 by default b) how to set the column titles only in the first row, removing them from the last. A thousand thanks

geraluca avatar Dec 01 '23 20:12 geraluca

Use -Filtering or -HideFooter, use PagingOptions or PagingLenght

PrzemyslawKlys avatar Dec 01 '23 20:12 PrzemyslawKlys