Author Topic: Row grouping breaks with empty cell value  (Read 2769 times)

wmwa

  • Pro Economy
  • Newbie
  • *
  • Posts: 19
    • View Profile
Row grouping breaks with empty cell value
« on: May 15, 2015, 06:21:37 pm »
Hi,

I'm trying to do row grouping based on the values in a column. If the column is completely full, grouping works fine. If I try to group and one of the cells is a blank value, I get the following error:

Uncaught TypeError: Cannot read property 'push' of undefined    pqgrid.min.js:289

This is a column I would like to group on, but it may not necessarily have an entry in each cell. You can see the same behavior in http://www.paramquery.com/pro/demos/group_rows if you change the groupModel dataIndx to dataIndx: ["ShippingDate", "ContactName"],

Since the shipping date might be missing a value in some entries, it completely breaks if you try to group on it.