Author Topic: Total summary data in the first row  (Read 3139 times)

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Total summary data in the first row
« on: November 29, 2017, 03:14:35 pm »
Hello Team,

We want to show the total summary data in the first row of the grid.

We tried with the custom jquery code and able to show in the first row but it is overlapping the first row.

Jquery Code:        $("#grid_Plan .pq-grid-summary").clone().appendTo("#grid_Plan .pq-grid-cont-outer .pq-grid-cont");


Please find attached screenshot for reference and give your suggestion asap.

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: Total summary data in the first row
« Reply #1 on: November 29, 2017, 04:15:32 pm »
 Hello Team,

Please find attached image file for see our exact requirement.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Total summary data in the first row
« Reply #2 on: November 29, 2017, 05:57:37 pm »
I'm sorry this feature to show grandSummary at the top instead of bottom is not supported.

With jQuery ( non - standard workaround to alter pqgrid view ), summary view can be moved above the header with the below code snippet, but it doesn't match your requirement.

Code: [Select]
complete: function(){
var $grid = this.widget();
$grid.find(".pq-grid-summary").detach().appendTo($grid.find(".pq-grid-top"));
//$(".pq-grid-summary").detach().insertAfter(".pq-header-outer");
},

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: Total summary data in the first row
« Reply #3 on: November 30, 2017, 09:00:16 am »
Hello Team,

Thanks for your valuable feedback :)  :) :) :) :) :)

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Total summary data in the first row
« Reply #4 on: July 30, 2018, 09:57:31 am »
For v5, updated jQuery code is mentioned here:

https://paramquery.com/forum/index.php?topic=2796