ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: bsolteam on January 31, 2015, 04:59:59 pm

Title: Ignore few rows when sorting
Post by: bsolteam on January 31, 2015, 04:59:59 pm
Hi,
I want to do a sorting without consideration of top 1 row and bottom 10 rows. I have found a topic related to my requirment. http://paramquery.com/forum/index.php?topic=953.0 But for me rows are having values. How can I sort In-between rows (or) How can I attach/detach rows. The rows are having some unique values.
Thanks in advance.
Title: Re: Ignore few rows when sorting
Post by: paramvir on February 12, 2015, 08:22:22 pm
Detach rows in this context means removal of row objects ( the rows which you don't want to be sorted ) from dataModel.data array in beforeSort event with Array.splice method
and attach rows means re addition of the rows in dataModel.data array in sort event.