ParamQuery

General Category => ParamQuery Pro Evaluation Support => Topic started by: [email protected] on February 18, 2021, 06:07:31 pm

Title: Error: TypeError: Cannot read property 'pivotSortFn' of undefined
Post by: [email protected] on February 18, 2021, 06:07:31 pm
Good morning
I'm using pqgrid like a pivot.
When I run the web page is working good.
If I push button refresh on the toolbar it give me this error:
TypeError: Cannot read property 'pivotSortFn' of undefined

Here is the part of code going in error.

var urlGet = "/private/getdata/";
$("#gridPony").pqGrid('option', 'dataModel.url', urlGet);
$("#gridPony").pqGrid('refreshDataAndView');

May you help me.
Thanks
Title: Re: Error: TypeError: Cannot read property 'pivotSortFn' of undefined
Post by: paramvir on February 28, 2021, 10:36:46 pm
Please follow these steps:

1. turn off the pivot
2. refreshDataAndView
3. turn on the pivot.