ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: rsgmedia on March 06, 2017, 12:44:49 pm

Title: Need help in Grouping those rows which are continous
Post by: rsgmedia 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.   
Title: Re: Need help in Grouping those rows which are continous
Post by: paramvir 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.