Author Topic: Format summary row better  (Read 1968 times)

akraines

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 34
    • View Profile
Format summary row better
« on: January 07, 2020, 03:23:33 am »
How can I format the grand total row to look like the excel screenshot. (both for web view and for printing)?
« Last Edit: January 07, 2020, 03:25:24 am by akraines »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6296
    • View Profile
Re: Format summary row better
« Reply #1 on: January 07, 2020, 10:48:29 am »
Grand summary row has pq_grandsummary property added to rowData which can be used to style it in rowInit or render callbacks as in this example:

https://paramquery.com/pro/demos/export_style

Please note that currently styles are exportable to Excel only ( not html or print )

akraines

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Format summary row better
« Reply #2 on: January 08, 2020, 12:14:28 am »
Thanks. i ended up using the pq_grandsummary in the render function and it worked beautifully