Author Topic: Need help in Grouping those rows which are continous  (Read 1888 times)

rsgmedia

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 50
    • View Profile
Need help in Grouping those rows which are continous
« on: March 06, 2017, 12:44:49 pm »
Hi,

In my PQrid I apply groupmodel in my first column which merges the cells with the same value. but I want the merging only the cells which are continuous so that the order of rows should not change,(if two cells having same value but there is some other cells between them, i don't want to these two cells get merged) as I have the second column in the PQgrid values in increasing order and i have to maintain that order.   

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Need help in Grouping those rows which are continous
« Reply #1 on: March 06, 2017, 01:14:51 pm »
I'm not sure of your question.

1. If you mean by groupModel.merge feature, it merges the cells with same values vertically in the same column.

groupModel.merge is true in this example: https://paramquery.com/pro/demos/group_rows_custom_summary

----------------------

2. If you mean grouping without reordering the rows, well that's not possible. For grouping, grid has to re-order the rows so that cells with same value are grouped together. If you know of any other way to group the rows, please let me know.
« Last Edit: March 06, 2017, 03:01:22 pm by paramquery »