Author Topic: Using groupModel with pageModel  (Read 2224 times)

mshapiro

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 35
    • View Profile
Using groupModel with pageModel
« on: June 12, 2015, 05:25:08 am »
I have a grid with pageModel turned on and groupModel on the column "PeerGroupName".  The groups are collapsed.  When the grid is displayed, on each page I get the grouping of 50 rows, not a list of 50 groups which is what I would like to see.  If there are 3 groups with 40, 30 and 50 rows , then page 1 has 2 rows "Group 1 (40 Employees)" and "Group 2 (10 Employees)".  Page 2 has 2 rows  "Group 2 (20 Employees)","Group 3 (30 Employees)".  Page 3 has 1 row "Group 3 (20 Employees)".  In this example I would like to get 1 page with "Group 1 (40 Employees)", "Group 2 (30 Employees)", "Group 3 (50 Employees)".  Is this possible?  Thanks.

pageModel: { type: 'local', rPP: 50 },

groupModel: groupModel = {
dataIndx: ["PeerGroupName"],
collapsed: [true],
title: ["({1} Employees)"],
dir: ["up"],
icon: [["ui-icon-triangle-1-se", "ui-icon-triangle-1-e"], ] }

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Using groupModel with pageModel
« Reply #1 on: June 12, 2015, 04:56:09 pm »
This is not feasible currently.