ParamQuery grid support forum
General Category => ParamQuery Pro Evaluation Support => Topic started by: daizhixia on December 05, 2014, 12:06:14 pm
-
I got latest 2.3.0 pro version recently.
however something not working properly when I updated from free version;
the first issue is I can't refresh my data grid anymore.
anytime I have to click page somewhere to render the correct data again;
my page has one refresh button which will get new&refresh data from server side;
everything works fine, load data fine, but can't refresh the page with new data;
oppForecast().init(); this method is to grab the new data from server side;
and this piece of code is working fine in the free version;
can someone help to check ?
is it bug?
$("#refresh").click(function(){
$("#grid_json").pqGrid("refreshDataAndView");
oppForecast().init();
});
-
you have to call refreshDataAndView method on the grid after assignment of data to dataModel.
There is a similar example here:
http://paramquery.com/pro/demos/filter_local
-
now refresh seems like working
but when I refresh by using dataAndView, the css style changed,
and I can see an additional text put shows at the bottom if I click one of the cell.
see my attachment please(http://)
-
you need to replace all old base version files with new SDK files and clear your browser cache.
-
yes, I use the new files from 2.3.0
does it require any specific jquery version, jquery UI version?
-
I did check all the files , and clear the browser cache, the issue is still the same;
also once I refresh my page, the grid lost some events
-
There are differences in API between base and Pro version.
To begin with, I hope you have been through this topic: http://paramquery.com/pro/tutorial#topic-migration
Could you share a url or a jsfiddle so that I can see what's going on.
you may take this as a starting point:
http://jsfiddle.net/b6b710mz/9/